sudo easy_install virtualenv
cd ~
virtualenv --no-site-packages --python=YOUR_PYTHON_VERSION django
NOTE : YOUR_PYTHON_VERSION should be 3.4 or higher :)
source ~/django/bin/activate
you can deactivate virtualenv when needed with command
desactivate
pip install -r requirements.txt
sudo apt-get install postgresql
sudo su - postgres
psql
CREATE DATABASE lugdunumdb WITH PASSWORD ********;
CREATE USER lugdunumuser WITH PASSWORD ********;
GRANT ALL PRIVILEGES ON DATABASE lugdunumdb TO lugdunumuser;
NOTE : be sure to set the right user password in Lugdunum_Server/settings.py
\q
exit
python manage.py migrate
python manage.py runserver
NOTE : be sure that the right python executable is associated with the 'python' command ;)