From e750b5a12f83b1b320b54694f9d52c0fff12631a Mon Sep 17 00:00:00 2001 From: Antoine Bartuccio Date: Thu, 3 Dec 2015 20:29:07 +0100 Subject: [PATCH] Edited gitignore and README to make everything work proprely with virtualenv --- .gitignore | 2 ++ README.md | 7 +++++-- requirements.txt | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 requirements.txt diff --git a/.gitignore b/.gitignore index a887e3e6..ea5c5ec1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ db.sqlite3 *.pyc *__pycache__* +.DS_Store +env_sith diff --git a/README.md b/README.md index d2cc3e34..8c976e1d 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,10 @@ To start working on the project, just run the following commands: git clone https://ae-dev.utbm.fr/ae/Sith.git cd Sith - python3 manage.py migrate + virtualenv --clear --python=python3 env_sith + source env_sith/bin/activate + pip install -r requirements.txt + ./manage.py migrate To load some initial data in the core: @@ -19,4 +22,4 @@ To start the debug server, just run `python3 manage.py runserver` * Django The development is done with sqlite, but it is advised to set a more robust -DBMS for production (Postgresql for example) \ No newline at end of file +DBMS for production (Postgresql for example) diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..d3e4ba56 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +django