File tree 1 file changed +63
-0
lines changed
1 file changed +63
-0
lines changed Original file line number Diff line number Diff line change @@ -5,3 +5,66 @@ Limite-limite version HE-Arc.
5
5
Projet réalisé dans le cadre du cours de développement web de troisième année à l'HE-Arc.
6
6
7
7
Plus d'informations quant au développement sont disponibles dans le [ wiki] ( https://github.com/HE-Arc/anansi/wiki ) .
8
+
9
+ ## Basic setup for dev
10
+
11
+ ### API Django
12
+
13
+ Install dependencies using pip environment :
14
+
15
+ ``` sh
16
+ cd api/
17
+ pipenv shell
18
+ pipenv install -r requirements.txt
19
+ ```
20
+
21
+ Configuration : use and adapt the ` .env.example ` file :
22
+
23
+ ``` sh
24
+ cp .env.example .env
25
+ ```
26
+
27
+ Redis database setup using Docker :
28
+
29
+ ``` sh
30
+ docker run -p 6379:6379 -d redis:5
31
+ ```
32
+
33
+ Apply database migrations :
34
+
35
+ ``` sh
36
+ python manage.py migrate
37
+ ```
38
+
39
+ Run dev server :
40
+
41
+ ``` sh
42
+ python manage.py runserver
43
+ ```
44
+
45
+ ### Frontend
46
+
47
+ Install dependencies :
48
+
49
+ ``` sh
50
+ cd frontend/
51
+ npm install
52
+ ```
53
+
54
+ Configuration : use and adapt the ` .env.example ` file :
55
+
56
+ ``` sh
57
+ cp .env.example .env
58
+ ```
59
+
60
+ Run dev server :
61
+
62
+ ``` sh
63
+ quasar run dev
64
+ ```
65
+
66
+ Build the project for prod :
67
+
68
+ ``` sh
69
+ quasar build
70
+ ```
You can’t perform that action at this time.
0 commit comments