UWFlow / rmc

Flow is a website that lets you plan courses with friends.
https://uwflow.com
MIT License
233 stars 73 forks source link

Add instructions to run UWFlow locally in Docker #285

Closed jlfwong closed 6 years ago

jlfwong commented 8 years ago

This will hopefully reduce the barrier to entry in starting development in Flow, as discussed in #280.

jlfwong commented 8 years ago

@JGulbronson How do you do local dev in Docker?

Whenever you want to run a devshell or connect to Mongo, you need to get the Container ID hosting the server being run in Docker, then run docker exec -it <container id> /bin/bash, then run

cd /rmc
source ~/.virtualenv/rmc/bin/activate

And then do the actual thing you want, like tools/devshell.py?

Or do you run screen or tmux or something inside the Docker container?

JGulbronson commented 8 years ago

Looks good to me, just gotta fix the merge conflict. Do you want to that, or should I?

jlfwong commented 8 years ago

@JGulbronson feel free! You'll probably have a better idea of what the conflict is. Does the issue around mounting a volume for Mongo in the inline comment about still need addressing?