Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

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

README.md

Techlahoma Job Board

Node.js job board used to power Techlahoma Jobs.

Installation

Use Git to clone this app, then:

npm install

ENV Variables Setup

Then create an .env file in the root directory file with the following contents (the app will not start without this file, and will throw an error if any ENV variables are missing):

export NODE_PATH="./src"
export NODE_ENV="development"
export DATABASE_URL="postgres://user@localhost/joblahoma"
export COOKIE_SECRET="blah blah blah - something random here"
export JOBS_DAYS_TO_EXPIRE=30
export USER_TOKEN_DAYS_TO_EXPIRE=30

Database Setup

Ensure knex.js is installed globally:

npm install -g knex

Run the database migrations:

knex migrate:latest

Run the database seeds if you want to see some fake data or run the tests:

knex seed:run

Commands

Start the server with a single command:

npm run start

Transpile all the ES6/ES2015 client-side JavaScript for browsers

npm run build

Minify the JavaScript bundle for production use

npm run minify

About

Techlahoma Job Board

Topics

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.