IN PROGRESS! DO NOT USE!!! Still testing out some things.
📝 current version of the document is for Docker savvyheads! We will include many different deployment profiles soon.
If you want to deploy your own instance of Apocalyptica, you will need:
- A Discord Account and a registered app. Please register app before starting a deploy! You need
DISCORD_TOKEN
andCLIENT_ID
in your.env
file to deploy successfully. - Docker (or other container runtime engine, though it has only been tested with Docker)
- Instructions are written assuming OSX/Linux access, though it should be easy to adapt to Windows.
- Web server needs access to port 8080.
ℹ️ The Docker quickstart is when you want to get going quickly and only want/require the default games and playbooks installed.
To build with defaults:
- fill out
env_discord.sample
withDISCORD_TOKEN
andCLIENT_ID
values, then copy that file to.env
under the root file of the repo. - from the root of the repo, run
bin/docker_quickstart
, which is really a wrapper script for:
docker run --name apocalyptica --rm --env-file -p8080:8080 ../.env -d gamefiend/apocalyptica
ℹ️ The Docker custom option is when you want to add your own custom games and playbooks to Apocalyptica.
To build with custom information:
- fill out
env_discord.sample
withDISCORD_TOKEN
andCLIENT_ID
values, then copy that file to.env
under the root file of the repo. - load your custom games and playbooks into
data/games
- from the root of the repo, run
bin/docker_custom
, which is really a wrapper script for:
docker build -t apocalyptica-custom \
&& docker run --name apocalyptica --rm --env-file -p8080:8080 ../.env -d apocalyptica-custom
This builds a custom container image that uses your custom info instead of using the generally available docker image.
📝 COMING SOON (REALLY SOON)
📝 COMING SOON