node.env = production api url asset url
before you start, please
- install
node@8
andnpm@5
- install
git-lfs
- install and set up Postgres for your system
- create a database in Postgres named
network_map
(see Postgres DEV setup) - install Redis
git clone https://github.com/mischa-s/alumni_net_map.git
cd alumni_net_map
npm install
npm run sql migrate:latest
npm run sql seed:run
npm run dev
- users
- id
- name
- web server
- mailer worker
- web server
- web app
- mailer worker
- node-resque
- nodemailer
- third-party: sendgrid
- dev tool: maildev
we're following the dogstack folder structure convention, adapted for our stack.
starts production server
npm start
starts development server
npm run dev
runs ava
tests
Can optionally take a glob
npm test -- './todos/**/*.test.js'
Default glob is ./**/*.test.js
ignoring node_modules
checks for standard style
can optionally take a glob
npm run lint -- './todos/**/*.js'
default glob is ./**/*.js
ignoring node_modules
runs knex
command, with any arguments.
npm run sql migrate:latest
npm run sql seed:run
use a ~/.pgpass
file to automate your passwords!
echo "localhost:5432:*:postgres:postgres" > ~/.pgpass
chmod 600 ~/.pgpass
create your database with:
createdb network_map -h localhost -U postgres
drop your database with:
dropdb network_map -h localhost -U postgres
connect to your database with:
psql -h localhost -U postgres -d network_map
https://pixabay.com/en/love-heart-set-seamless-pattern-3102033/
- search terms
- seamless
- tile
- repeating
- geometric
- abstract
- mosaic
- open source friendly websites
- pixabay.com
AGPL-3.0