Skip to content

CollabCodeTech/devwars-stack

 
 

Repository files navigation

DevWars

Official Repository to get a local version of Devwars.tv


Prerequisites

  1. Install Docker and Docker Compose
  2. Create a firebase account and put your serviceAccount json in the root directory of the repository with the name firebase.json
  3. We require an AWS S3 Bucket for storage, so we'll need the following
    • Endpoint URL
    • Access Key
    • Secret Key
    • Bucket Name
  4. Create an application in the Discord Developer Portal
  5. (Optional) Create a MailGun account if you want to send out emails.

How to get up and running?

  1. git clone --recursive https://github.com/DevWars/devwars-stack.git
  2. Replace each .env.service.example with .env.service and fill out each file with the keys we required in the prerequisites
  3. Make sure you have a filed called firebase.json in the root of the repository. If you run the next step without this, you may see a folder with the name firebase.json, if so, just replace it with your real firebase.json and restart.
  4. docker-compose up -d
  5. docker-compose exec api npm run seed
  6. Make sure your hosts file has the following lines
127.0.0.1 devwars.test
127.0.0.1 www.devwars.test

127.0.0.1 api.devwars.test

127.0.0.1 watch.devwars.test
127.0.0.1 play.devwars.test

Done, head to devwars.test in your browser! 🔥🔥🔥

About

DevWars Full Stack Setup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published