mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 14:13:21 +00:00
README: fix typo in CONTRIBUTING and move dependencies before Get started instructions
This commit is contained in:
parent
e3432794f5
commit
6943d29857
@ -20,8 +20,9 @@ Avec cette commande, tu clones le sith AE dans le dossier courant.
|
|||||||
```bash
|
```bash
|
||||||
cd Sith
|
cd Sith
|
||||||
virtualenv --system-site-packages --python=python3 env
|
virtualenv --system-site-packages --python=python3 env
|
||||||
source env_sith/bin/activate
|
source env/bin/activate
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
./manage runserver
|
||||||
```
|
```
|
||||||
|
|
||||||
Attention aux dépendances système, à voir dans le README.md
|
Attention aux dépendances système, à voir dans le README.md
|
||||||
|
46
README.md
46
README.md
@ -5,6 +5,29 @@
|
|||||||
|
|
||||||
## Sith AE
|
## Sith AE
|
||||||
|
|
||||||
|
### Dependencies:
|
||||||
|
See requirements.txt
|
||||||
|
|
||||||
|
You may need to install some dev libraries like `libmysqlclient-dev`, `libssl-dev`, `libjpeg-dev`, `python3-xapian`, or `zlib1g-dev` to install all the
|
||||||
|
requiered dependancies with pip. You may also need `mysql-client`. Don't also forget `python3-dev` if you don't have it
|
||||||
|
already.
|
||||||
|
|
||||||
|
You can check all of them with:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo apt install libmysqlclient-dev libssl-dev libjpeg-dev zlib1g-dev python3-dev libffi-dev python3-dev libgraphviz-dev pkg-config python3-xapian gettext
|
||||||
|
```
|
||||||
|
|
||||||
|
On macos, you will need homebrew
|
||||||
|
|
||||||
|
```bash
|
||||||
|
brew install xapian
|
||||||
|
```
|
||||||
|
|
||||||
|
If it doesn't work it's because it need [this pull request](https://github.com/Homebrew/homebrew-core/pull/34835) to be validated.
|
||||||
|
|
||||||
|
The development is done with sqlite, but it is advised to set a more robust DBMS for production (Postgresql for example)
|
||||||
|
|
||||||
### Get started
|
### Get started
|
||||||
|
|
||||||
To start working on the project, just run the following commands:
|
To start working on the project, just run the following commands:
|
||||||
@ -31,29 +54,6 @@ To connect the app to sentry.io, you must set the variable SENTRY_DSN in your se
|
|||||||
There is a Doxyfile at the root of the project, meaning that if you have Doxygen, you can run `doxygen Doxyfile` to
|
There is a Doxyfile at the root of the project, meaning that if you have Doxygen, you can run `doxygen Doxyfile` to
|
||||||
generate a complete HTML documentation that will be available in the *./doc/html/* folder.
|
generate a complete HTML documentation that will be available in the *./doc/html/* folder.
|
||||||
|
|
||||||
### Dependencies:
|
|
||||||
See requirements.txt
|
|
||||||
|
|
||||||
You may need to install some dev libraries like `libmysqlclient-dev`, `libssl-dev`, `libjpeg-dev`, `python3-xapian`, or `zlib1g-dev` to install all the
|
|
||||||
requiered dependancies with pip. You may also need `mysql-client`. Don't also forget `python3-dev` if you don't have it
|
|
||||||
already.
|
|
||||||
|
|
||||||
You can check all of them with:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
sudo apt install libmysqlclient-dev libssl-dev libjpeg-dev zlib1g-dev python3-dev libffi-dev python3-dev libgraphviz-dev pkg-config python3-xapian gettext
|
|
||||||
```
|
|
||||||
|
|
||||||
On macos, you will need homebrew
|
|
||||||
|
|
||||||
```bash
|
|
||||||
brew install xapian
|
|
||||||
```
|
|
||||||
|
|
||||||
If it doesn't work it's because it need [this pull request](https://github.com/Homebrew/homebrew-core/pull/34835) to be validated.
|
|
||||||
|
|
||||||
The development is done with sqlite, but it is advised to set a more robust DBMS for production (Postgresql for example)
|
|
||||||
|
|
||||||
### Collecting statics for production:
|
### Collecting statics for production:
|
||||||
|
|
||||||
We use scss in the project. In development environment (DEBUG=True), scss is compiled every time the file is needed. For production, it assumes you have already compiled every files and to do so, you need to use the following commands :
|
We use scss in the project. In development environment (DEBUG=True), scss is compiled every time the file is needed. For production, it assumes you have already compiled every files and to do so, you need to use the following commands :
|
||||||
|
Loading…
Reference in New Issue
Block a user