Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
vpet98 committed Jun 20, 2024
1 parent 9b65c6e commit 5c56866
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,11 @@ For production see the recommended option using [Docker](https://www.docker.com/
```
**Note:** You can use your own choices for role name, database name, password, host and port. Be sure to pass them through environment variables when running the docker container.

- From within the project folder build the Docker image:
- From within the project folder, either build the Docker image:
```bash
docker build --network host -t networkstests .
```
**Note:** Look in the [Dockerfile](https://github.com/EIDA/find-net-board/blob/main/Dockerfile) and make sure to use credentials for the new admin user that do not already exist. If you already have made an admin user (e.g. by having built the image again before) and do not want to make a new one, you can delete the command:
```
RUN python manage.py shell -c "from django.contrib.auth.models import User; \
User.objects.create_superuser('admin', '[email protected]', 'adminpassword')"
```
If this is the first time you install the application, you can ignore the above note.
or pull from [https://ghcr.io/eida/eida/find-net-board:main](https://ghcr.io/eida/eida/find-net-board:main).

- Run the Docker container:
```bash
Expand Down

0 comments on commit 5c56866

Please sign in to comment.