-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstructions.txt
34 lines (23 loc) · 1.22 KB
/
instructions.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
!!!
If you're cloning directly from github, the ML folder would be empty, hence you wouldn't be able to run the server, so
to get the full code please send me a mail in :
!!!
____________________________________________________________
To run the server, follow these four simple steps:
1- Create a python vitural environement using:
virtualenv venv
2- Install the required packages using :
pip install -r requirements.txt
3- Run the following commands:
python manage.py makemigrations
python manage.py migrate
4- To run the server, execute in the terminal:
python manage.py runserver
==> The server will launch on 127.0.0.1:8000 (you can use the browser to open it)
_____________________________________________________________
There is also an API available after running the server, read the "readme.md" file for more information
The API documentation is available online on : https://sam94.docs.apiary.io/
_____________________________________________________________
A docker file is also available, so to run a docker container, please build the dockerfile and run the corresponding image.
For more information, please check the project repository on : https://github.com/benhachy/SAM-website