#!/bin/bash bindip="127.0.0.1" export APP_URLS="http://$bindip" export ENABLE_API_DEV_USER='true' export LISTEN_ADDRESS="$bindip:6000" export LISTEN_ADDRESS_HTTP="$bindip:6001" export DNS_WHITELIST="$bindip:6000,$bindip:6001" export DEBUG_LEVEL='light' export COURSE_IMPORT_REQUIRE_VERIFY='false' export COURSE_IMPORT_ENABLE_CACHE='true' export USE_DUMP_FOR_SEARCHES='false' #export DUMP_FILENAME='/mnt/path/dump_nothumb.db' #export DUMP_THUMBS_FILENAME='/mnt/path/dump_onlythumb.db' export DATA_VIEW_TYPE='combined_dyna' export DYNA_URL='postgres://ocw@127.0.0.1:5432/ocw?sslmode=disable' export MIXED_DIFFICULTY='false' export JWT_SECRET='localdev' go run -v main.go