Table of Contents
See Project Board for current project status.
- Install all prerequisites and make sure services are running. Do not proceed to step 2 until you have installed all four prerequisites.
If you are using Mac OS X, brew can install these dependencies for you. For example, to install and start Redis on a Mac:
brew install redis
brew services start redis
If you are using Windows, things are a little more complicated. You will need to install the Windows Subsystem for Linux. Then you can run:
sudo apt-get install redis-server
sudo service redis-server start
If you are using Linux, you already know how to do this.
- Install NPM modules:
npm install
- Set up the database:
RDS_USERNAME=$(whoami) npm run migrate
- Seed the database (optional, slow):
RDS_USERNAME=$(whoami) npm run seed
- Create a file named
.env.local
. This file overrides.env
with your private data. Inside it, put:
RDS_USERNAME=<your-username>
- Add your private credentials to
.env.local
.
npm run dev
npm run build
npm run start