Skip to content
Snippets Groups Projects
Commit d9e0ea22 authored by Dos Reis Cedric's avatar Dos Reis Cedric
Browse files

bweh

parent 6bcd3825
Branches
No related tags found
No related merge requests found
......@@ -7,38 +7,30 @@
1. Install `virtualenv` package and create a new environment in the `./src` folder project
On Linux and macOS :
```python
python3 -m virtualenv env
```
```
python3 -m virtualenv env
```
On Windows :
```python
python -m virtualenv env
```
```
python -m virtualenv env
```
2. Activate the virtual environment with :
​ On Linux and macOS :
```python
source env/bin/activate
```
```
source env/bin/activate
```
​ On Windows :
```python
.\env\Scripts\activate
```
```
.\env\Scripts\activate
```
3. Then install all packages dependencies in `requirements.txt` :
......@@ -50,24 +42,23 @@ pip install -r requirements.txt
On Linux and macOS :
```python
export FLASK_ENV=development
export FLASK_APP=app.py
```
```
export FLASK_ENV=development
export FLASK_APP=app.py
```
​ On Windows :
```python
set FLASK_ENV=development
set FLASK_APP=app.py
```
```
set FLASK_ENV=development
set FLASK_APP=app.py
```
## Starting the web server (REST API)
```python
python -m flask run
```
```
python -m flask run
```
## Starting the web client
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment