jak103 / powerplay

MIT License
11 stars 27 forks source link

Power Play

image

Go Site Node.js CI

Table of Contents

Team Specific Pages

Helpful Commands

Environment Variables

We use dotenv and a local.env to store all environment variables. Please copy config/local.env.example to config/local.env and update any environment variables.

Clear and Re-run Migrations

Sometimes you need to clear out migrations due to a model change. While we are in early development we've decided to drop and recreate migrations vs. source control and continuously run them. You can easily drop the migrations table and have go auto migrate any changes.

Note this will not drop columns / tables
This needs to be ran while docker is running

make nuke-migrations

Run all Go tests

Ability to quickly run all go tests to ensure your changes pass all tests before committing code.

** This needs to be ran while docker is running

make test