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