Skip to content

Commit

Permalink
update urls in readme/default config
Browse files Browse the repository at this point in the history
  • Loading branch information
Jameskmonger committed Feb 27, 2023
1 parent e644f19 commit 2e73e6e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ AUTH0_MANAGEMENT_CLIENT_SECRET=

These will be automatically picked up and used by the build scripts.

### Local app url

Set the environment variable `CREATURE_CHESS_APP_URL` to `http://localhost:8080`

### Auth0 Setup

You will need to set up an Auth0 tenant in order to run Creature Chess locally.
Expand All @@ -65,8 +61,8 @@ See "Environment variables" above for info on how to store them.

There are some steps that you need to take on the Auth0 config for this:

- Set `Allowed Callback URLs` = "http://localhost:8080"
- Set `Allowed Web Origins` = "http://localhost:8080"
- Set `Allowed Callback URLs` = "http://localhost"
- Set `Allowed Web Origins` = "http://localhost"

Then, set the following environment variables

Expand All @@ -85,7 +81,7 @@ Run `yarn` in the project root.
$ yarn dockerup
```

The game is then accessible at `http://localhost:8080`.
The game is then accessible at `http://localhost`.

In another console, you will need to run the following command to run the User service locally.

Expand Down
4 changes: 2 additions & 2 deletions apps/web-menu/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ module.exports = {
new EnvironmentPlugin({
NODE_ENV: "production",
SENTRY_DSN: "",
GAME_SERVER_URL: "http://localhost:8080/game/",
API_INFO_URL: "http://localhost:8081/dev",
GAME_SERVER_URL: "http://localhost/game/",
API_INFO_URL: "http://localhost/api",
AUTH0_DOMAIN: "",
AUTH0_SPA_CLIENT_ID: "",
CREATURE_CHESS_APP_URL: "",
Expand Down

0 comments on commit 2e73e6e

Please sign in to comment.