mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 06:03:20 +00:00
Edited gitignore and README to make everything work proprely with virtualenv
This commit is contained in:
parent
2c4bac7c9f
commit
e750b5a12f
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,5 @@
|
||||
db.sqlite3
|
||||
*.pyc
|
||||
*__pycache__*
|
||||
.DS_Store
|
||||
env_sith
|
||||
|
@ -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
1
requirements.txt
Normal file
@ -0,0 +1 @@
|
||||
django
|
Loading…
Reference in New Issue
Block a user