Edited gitignore and README to make everything work proprely with virtualenv

This commit is contained in:
Antoine Bartuccio 2015-12-03 20:29:07 +01:00
parent 2c4bac7c9f
commit e750b5a12f
3 changed files with 8 additions and 2 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
db.sqlite3
*.pyc
*__pycache__*
.DS_Store
env_sith

View File

@ -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)
DBMS for production (Postgresql for example)

1
requirements.txt Normal file
View File

@ -0,0 +1 @@
django