Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Jun 7, 2024
1 parent 9a1b6de commit bf13cb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ EXPOSE 8080
# Expose port 80 for http traffic
EXPOSE 80

RUN chmod +x set-discord-bot-credentials.sh

# Expose port 8000 to the outside world
EXPOSE 8000

Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,11 @@ To enable debugging the JSON output in a browser, adding the query parameter `ac

- Download Docker
- Navigate to the root directory of this project
- Use `ps1` files for Windows and `sh` files for UNIX
- Run `.\.docker\docker-build.ps1` **or** `.\.docker\docker-build.sh` (only required once)
- Run `.\.docker\docker-network.ps1` **or** `.\.docker\docker-network.sh` (only required once)
- Run `.\.docker\docker-run.ps1` **or** `.\.docker\docker-run.sh`
- Run `docker-compose up`
- The API is now available on your machine at `localhost:8080`
- The Admin server is now available on your machine at `localhost:8000`
- **Note** to get the Discord bot auth to work, you need to send a curl request
after the service is initialized: `curl -XPOST http://localhost:8080/_configure -d '{"DiscordBotCredentials": {"Username": "<username>", "Password": "<password>"}}'`

## Running locally

Expand Down

0 comments on commit bf13cb9

Please sign in to comment.