-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Delete everything related to old config implementations * Add missing curse fields to character schema * Update seeds due to code changes * Add functions to delete and get all characters from curse of mirra * Update configurator and gateway controllers with new functions * Differentiate characters table with configurator characters table * Add configurator app to central_backend release * Add assets deploy to deployment script * Start configurator webserver in another port * Update configurator host and port * Update configurator app README * Add game_backend as configurator dependency * Update configurator controller tests
- Loading branch information
1 parent
ec1a672
commit 3ca50ab
Showing
33 changed files
with
148 additions
and
765 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,21 @@ | ||
# Configurator | ||
|
||
To start your Phoenix server: | ||
|
||
* Run `mix setup` to install and setup dependencies | ||
* Start Phoenix endpoint with `mix phx.server` or inside IEx with `iex -S mix phx.server` | ||
|
||
Now you can visit [`localhost:4000`](http://localhost:4000) from your browser. | ||
|
||
Ready to run in production? Please [check our deployment guides](https://hexdocs.pm/phoenix/deployment.html). | ||
|
||
## Learn more | ||
|
||
* Official website: https://www.phoenixframework.org/ | ||
* Guides: https://hexdocs.pm/phoenix/overview.html | ||
* Docs: https://hexdocs.pm/phoenix | ||
* Forum: https://elixirforum.com/c/phoenix-forum | ||
* Source: https://github.com/phoenixframework/phoenix | ||
|
||
# Configurator | ||
|
||
This app is in charge of the configurations. Think either full game config or feature flags for A/B testing | ||
|
||
In it you will be able to create new configurations and decide the default version to be used. Configurations are inmutable to allow rollbacks and easier A/B testing, you can always create a new one based on the default one or one in particular | ||
|
||
To run in development you can either run it through the umbrella root or in the app repo by doing either `mix phx.server` or `iex -S mix phx.server` | ||
|
||
The app offers 2 interfaces, a web UI and a JSON API | ||
|
||
## Web UI | ||
|
||
You can visit this in [`localhost:4100`](http://localhost:4100) (either `/` or `/configurations`). In there you will be able to do the following | ||
- See all configurations and which one is the default | ||
- See detatils of a specific configuration version | ||
- Create a new configuration, either based on the default one or from another | ||
- Change default configuration | ||
|
||
## JSON API | ||
You can visit this in [`localhost:4100`](http://localhost:4100). | ||
|
||
The API offers 2 endpoints | ||
In there you will be able to do the following: | ||
- See, create, edit character configurations. | ||
|
||
- `/api/default_config` Fetches the default configuration version | ||
- `/configurations/:id` Fetches a specific configuration version | ||
Next steps: | ||
- Do the same for other configurations (game, skills, etc.). | ||
- See all configurations and which one is the default. | ||
- See details of a specific configuration version. | ||
- Create a new configuration, either based on the default one or from another. | ||
- Change default configuration. |
This file was deleted.
Oops, something went wrong.
49 changes: 0 additions & 49 deletions
49
apps/configurator/lib/configurator/configuration/character.ex
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
apps/configurator/lib/configurator/configure/configuration.ex
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.