You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-8Lines changed: 7 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,10 +23,9 @@ Prior to be able to develop locally, you might need to install postgres, simply
23
23
24
24
1. Create a virtual environment
25
25
2. Activate your virtual environment
26
-
3. Install the dependencies with `pip install -r app/requirements/postgres.txt`
27
-
4. Install extra local development dependencies with `pip install -r app/dev_requirements.txt`
28
-
5. Move to the `app` folder with `cd app`
29
-
6. Create environment variables (only replace content surrounded by `<>`)
26
+
3. Move to the `app` folder with `cd app`
27
+
4. Install local development dependencies with `pip install -r requirements/local.txt`
28
+
5. Create environment variables (only replace content surrounded by `<>`)
30
29
```
31
30
SQL_ENGINE=django.db.backends.postgresql
32
31
SQL_DATABASE=<your db name>
@@ -36,10 +35,10 @@ SQL_HOST=localhost
36
35
SQL_PORT=5432
37
36
DEBUG=(True|False)
38
37
```
39
-
8. Add an environment variable `MVS_HOST_API` and set the url of the simulation server you wish to use for your models
40
-
9. Execute the `local_setup.sh` file (`. local_setup.sh` on linux/mac `bash local_setup.sh` on windows) you might have to make it executable first. Answer yes to the question
41
-
10. Start the local server with `python manage.py runserver`
42
-
11. You can then login with `testUser` and `ASas12,.` or create your own account
38
+
6. Add an environment variable `MVS_HOST_API` and set the url of the simulation server you wish to use for your models
39
+
7. Execute the `local_setup.sh` file (`. local_setup.sh` on linux/mac `bash local_setup.sh` on windows) you might have to make it executable first. Answer yes to the question
40
+
8. Start the local server with `python manage.py runserver`
41
+
9. You can then login with `testUser` and `ASas12,.` or create your own account
43
42
44
43
## Deploy using Docker Compose
45
44
The following commands should get everything up and running, using the web based version of the MVS API.
0 commit comments