Wortopia in node
JavaScript HTML CSS Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
icon
migrations
src
static
test
.bowerrc
.dockerignore
.gitignore
.travis.yml
Gruntfile.js
README.md
app.js
config.js
database.js
di.js
initscript.sh
migrate.sh
nginx.conf
package.json
required_browser_features.txt
start-with-docker.sh

README.md

Wortopia implementation in node.js

Build Status

Set up DB

sudo -u postgres createuser wortopia -P
sudo -u postgres createdb wortopia -O wortopia
sudo -u postgres createdb wortopia_test -O wortopia
sudo -u postgres psql wortopia
CREATE EXTENSION IF NOT EXISTS citext;
CREATE EXTENSION IF NOT EXISTS pgcrypto;
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";

sudo -u postgres psql wortopia_test
CREATE EXTENSION IF NOT EXISTS citext;
CREATE EXTENSION IF NOT EXISTS pgcrypto;
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";

sudo -u postgres psql wortopia_dev
CREATE EXTENSION IF NOT EXISTS citext;
CREATE EXTENSION IF NOT EXISTS pgcrypto;
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
./migrate.sh test
./migrate.sh dev
./migrate.sh production

Run grunt

grunt

Start wortopia

SIMPLER_SES_AUTH_TOKEN=abc TOKEN_SALT=def node ./app.js | ./node_modules/bunyan/bin/bunyan -o short

Init script

apt-get install pipexec # requires debian unstable