mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-30 22:29:32 +00:00
Edited gitignore and README to make everything work proprely with virtualenv
This commit is contained in:
1 parent
2c4bac7c9f
commit
e750b5a12f
3 files changed
+8
-2
No files matched your search
@@ -1,3 +1,5 @@
|
|||||||
db.sqlite3
|
db.sqlite3
|
||||||
*.pyc
|
*.pyc
|
||||||
*__pycache__*
|
*__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
|
git clone https://ae-dev.utbm.fr/ae/Sith.git
|
||||||
cd Sith
|
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:
|
To load some initial data in the core:
|
||||||
|
|
||||||
@@ -19,4 +22,4 @@ To start the debug server, just run `python3 manage.py runserver`
|
|||||||
* Django
|
* Django
|
||||||
|
|
||||||
The development is done with sqlite, but it is advised to set a more robust
|
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)
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
django
|
||||||
Reference in new issue
Block a user