Skip to content
master
Switch branches/tags
Code
This branch is 2 commits ahead, 91 commits behind LearnersGuild:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

No description, website, or topics provided.

Resources

Releases

No releases published

Packages

No packages published

Languages