An idea submission platform for juniFEUP
-
Install pip
-
Install virtualenv and virtualenvwrapper
$ pip install virtualenvwrapper
- After virtualenvwrapper is installed, add the following to your .bash_profile
export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/directory-you-do-development-in
source /usr/local/bin/virtualenvwrapper.sh
- Create a new virtual environment
$ mkvirtualenv eureka
- Navigate to the repo folder
$ cd eureka
- Install dependencies
$ pip install -r requirements.txt
- Navigate to the project folder
$ cd eureka
- Sync database and run migrations
$ python manage.py syncdb
$ python manage.py migrate ideas
- Start local server
$ python manage.py runserver
- Virtualenv guide: http://docs.python-guide.org/en/latest/dev/virtualenvs/