mirror of
https://github.com/rodneyosodo/smart-farm-africastalking-hackathon.git
synced 2026-06-23 04:10:17 +00:00
15 lines
384 B
Makefile
15 lines
384 B
Makefile
export-config:
|
|
export DATABASE_URL="postgresql://postgres:postgres@127.0.0.1:1001/demo"
|
|
export APP_SETTINGS="config.DevelopmentConfig"
|
|
|
|
start-postgres:
|
|
docker run --rm -d -p 127.0.0.1:1001:5432 -e "POSTGRES_USER"="postgres" -e POSTGRES_PASSWORD=postgres --name postgres postgres
|
|
|
|
start-ngrok:
|
|
ngrok http 5000
|
|
|
|
run-server:
|
|
python3 manage.py runserver
|
|
|
|
initialize-app:
|
|
./start.sh
|