No description, website, or topics provided.
Branch: master
Clone or download
Pull request Compare This branch is 2 commits ahead, 91 commits behind LearnersGuild:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
browser
server
test
.gitignore
README.md
circle.yml
knexfile.js
package.json

README.md

Pull Request Review Request

CircleCI

Prrr

prrr

Development

npm install
npm run build

Setup

Go here and register a new OAuth application.

Application name: prrr development
Homepage URL: http://localhost:3000/
Application Description:
Authorization callback URL: http://localhost:3000/auth/github/callback

NOTE: you can use any port you want. It doesnt need to be 3000

Create a .env file like this:

NODE_ENV=development
PORT=3000
GITHUB_CLIENT_ID=<FOLLOW GITHUB INSTRUCTIONS>
GITHUB_CLIENT_SECRET=<FOLLOW GITHUB INSTRUCTIONS>
GITHUB_CALLBACK=http://localhost:3000/auth/github/callback
SESSION_KEY=thiscanbeanyoldrandomstring

NOTE: you can use any port you want as long as it matches your github oauth

Database

*NOTE: you need to run npm run build before you can run knex commands

createdb prrr-development
createdb prrr-test
knex migrate:latest