codalab / chagrade

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Needs README file and env_sample should be more explicit

BrendanMyers88 opened this issue · comments

I think the env_sample should include example variables. For Postgres specifically I was trying to add the variables in quotes when they don't need to be strings. The following setup worked for me after adding them to my .env

DB_HOST=postgres 
DB_NAME=postgres  
DB_USER=postgres  
DB_PASSWORD=postgres   
DB_PORT=5432

In addition, I think it would be helpful to have an explanation for where to get Docker and how to get into the django bash to migrate the migrations and create a superuser. It should also be explicit that chagrade will be on port 80 instead of port 8000. If you have any questions, let me know and I can give a few more examples of stumbling blocks we ran into while getting Chagrade up-and-running.