Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
labs_IHM_2019
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cedric.dosreis
labs_IHM_2019
Commits
d9e0ea22
Commit
d9e0ea22
authored
5 years ago
by
Dos Reis Cedric
Browse files
Options
Downloads
Patches
Plain Diff
bweh
parent
6bcd3825
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lab5/src/README.md
+24
-33
24 additions, 33 deletions
lab5/src/README.md
with
24 additions
and
33 deletions
lab5/src/README.md
+
24
−
33
View file @
d9e0ea22
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment