Skip to content

Commit 5768f1f

Browse files
committed
remove duplicate instruction to use virtualenv
1 parent 213180f commit 5768f1f

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

documentation/First-time-setup.md

+5-6
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,18 @@ For the SAML integration, the following libraries are required: xmlsec, python3-
1919

2020
To get an instance running, do all of the following inside an activated `virtualenv`:
2121

22-
1. Create and activate a virtualenv for Python.
23-
2. Create the file `backend/ianalyzer/settings_local.py`.`ianalyzer/settings_local.py` is included in .gitignore and thus not cloned to your machine. It can be used to customise your environment. You can leave the file empty for now.
24-
3. Install the requirements for both the backend and frontend:
22+
1. Create the file `backend/ianalyzer/settings_local.py`.`ianalyzer/settings_local.py` is included in .gitignore and thus not cloned to your machine. It can be used to customise your environment. You can leave the file empty for now.
23+
2. Install the requirements for both the backend and frontend:
2524
```sh
2625
yarn postinstall
2726
```
28-
4. For an easy setup, locate the file `config/elasticsearch.yml` in your Elasticsearch directory, and set the variable `xpack.security.enabled: false`. Alternatively, you can leave this on its default value(`true`), but this requires [additional settings](./Django-project-settings.md#api-key).
29-
5. Set up your postgres database:
27+
3. For an easy setup, locate the file `config/elasticsearch.yml` in your Elasticsearch directory, and set the variable `xpack.security.enabled: false`. Alternatively, you can leave this on its default value(`true`), but this requires [additional settings](./Django-project-settings.md#api-key).
28+
4. Set up your postgres database:
3029
```sh
3130
psql -f backend/create_db.sql
3231
yarn django migrate
3332
```
34-
6. Make a superuser account with `yarn django createsuperuser`
33+
5. Make a superuser account with `yarn django createsuperuser`
3534

3635
## Setup with Docker
3736
Alternatively, you can run the application via Docker:

0 commit comments

Comments
 (0)