btajfel / Gold-Team

Gold Team repository
1 stars 0 forks source link

SSH into server #104

Open btajfel opened 5 years ago

btajfel commented 5 years ago

ssh crewcam@crewcam.eecs.umich.edu password: !aRzdSZPA^8z

azarrabi commented 5 years ago

How to start the web server using gunicorn: Make sure you're in the virtual environment: source env/bin/activate Kill existing processes: pkill -f gunicorn Check existing processes: pgrep -af gunicorn Run the server: gunicorn -b localhost:8000 -w 2 -D camcrew:app (-D stands for daemonize, which means run it in the background and -w is for the number of workers, in this case 2)