Before deploying this web interface, make sure you have a release version or the latest snapshot!
Download snapshot button still under development
- Clone the repo
yarn install
- Modify a file in your project root called
.env
containing the following:Variable Description DOMAIN_NAME The domain in which you intend to run this app from. ENDPOINT_URL The host of your minecraft server, something like https://mc.boop.ninja DISCORD_CLIENT_ID Client ID of your discord app for authorization. Check out: https://discord.com/developers/applications DISCORD_CLIENT_SECRET Client Secret of your discord app for authorization. Check out: https://discord.com/developers/applications DISCORD_CODE_VERIFIER Random string thats up to you! This is a secret in which your app and discord share. Make it unique! - Run yarn generate
- Copy files in your dist folder to your web hosting directory.
# install dependencies
$ yarn install
# serve with hot reload at localhost:3000
$ yarn dev
# build for production and launch server
$ yarn build
$ yarn start
# generate static project
$ yarn generate
For detailed explanation on how things work, check out Nuxt.js docs.