2015-11-19 07:47:24 +00:00
|
|
|
## Sith AE
|
2015-11-19 07:45:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
To start working on the project, just run the following commands:
|
|
|
|
|
|
|
|
git clone https://ae-dev.utbm.fr/ae/Sith.git
|
|
|
|
cd Sith
|
2015-12-03 19:29:07 +00:00
|
|
|
virtualenv --clear --python=python3 env_sith
|
|
|
|
source env_sith/bin/activate
|
|
|
|
pip install -r requirements.txt
|
2015-12-04 15:13:20 +00:00
|
|
|
./manage.py setup
|
2015-11-19 07:45:21 +00:00
|
|
|
|
2015-11-24 09:55:15 +00:00
|
|
|
To load some initial data in the core:
|
|
|
|
|
2015-11-25 07:47:35 +00:00
|
|
|
python3 manage.py loaddata users groups pages
|
2015-11-24 09:55:15 +00:00
|
|
|
|
2015-11-19 07:45:21 +00:00
|
|
|
You will be prompted for your Gitlab account, so you need some.
|
|
|
|
|
|
|
|
To start the debug server, just run `python3 manage.py runserver`
|
|
|
|
|
2015-11-19 07:47:24 +00:00
|
|
|
#### Dependencies:
|
2015-12-04 15:13:20 +00:00
|
|
|
* Django 1.8
|
2015-11-19 07:45:21 +00:00
|
|
|
|
|
|
|
The development is done with sqlite, but it is advised to set a more robust
|
2015-12-03 19:29:07 +00:00
|
|
|
DBMS for production (Postgresql for example)
|