-
Notifications
You must be signed in to change notification settings - Fork 21
Setting up the VM for development
Romain edited this page Aug 16, 2018
·
3 revisions
To setup the VM you need a ssh access to the main database. Then you can configure the VM with the following steps:
- Log to the VM (ssh localhost -p 22222, romain:romain)
- Copy your ssh private key to access the host with the postgresql db
- Setup your psql login name in ~/iwr/internetHealthReport/internetHealthReport/settings.py
- Stop the local postgres server and ssh-forward to the remote db with this command: cd ~; sh runWebsite.sh
- Restart the webserver: sudo service apache2 restart
- See the website at: http://localhost:12345/ihr/
Useful tips:
- Access the python environment used by django: source ~/iwr/bin/activate