JavaScript HTML Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
browser
config
lib
public
server
.env
.gitignore
.travis.yml
package.json
readme.md

readme.md

Capacitor

Build Status

A basic Flux/React bootstrap. Heavily inspired by Artsy's Ezel Project. Also a work in progress.

What this includes:

Setup

npm install -d
npm start

Configuration

All environment variables should go in .env. This file is loaded in on boot, but existing variables will persist. For example:

NODE_ENV=production PORT=4000 npm start

Would start the server in production mode on port 4000, instead of 3000.

Deployment

A postinstall script has been added to the package.json for this project. Heroku should automatically run this script to build assets. For other hosting environments simply run npm run postinstall after other deployment activities have been performed.

Run Tests

npm test

Run Accessibility Tests

Make sure your server is running on port 3000, then run:

npm run test:accessibility

Example output will look like:

Accessibility Testing


Code At Viget

Visit code.viget.com to see more projects from Viget.