Project is under construction
Subscribe my blog's RSS for more information
- Nodejs and npm
$ npm install -g nodemon
$ npm install -g browserify
$ npm install -g gulp
$ npm install -g bower
Clone the project
$ git clone git@github.com:tmtxt/easy_pedigree.git
$ cd easy_pedigree
$ mkdir -p public/js_app
Install the dependencies
$ npm install
Generate, uglify files
$ browserify -r js-csp > ./public/js_app/js-csp.js
$ gulp setup
Create sample config file database/database.json
, you need to edit
this file to match your database configuration
$ gulp create-config-files
- schemup
- PostgreSQL
- python, virtualenv, pip
Create new env using virtualenv and activate it
Create a file named requirements.txt
storm==0.19
Twisted==12.0.0
psycopg2==2.5
pyyaml==3.10
boto
git+git://github.com/brendonh/schemup.git@5f5d35f5c7e9708e62ca43aa4743610e2cb696ae
Install the requirements with pip install -r requirements.txt
Assume that you have change the file database/database.json
content
corresponding to your database server information
Cd to the database directory and run update.py
to setup the database
$ python update.py commit
If you want some sample data, you can execute the file sample-data.sql
Run the website using node
or nodemon
$ nodemon app.js
Default account
- User: admin
- Password: password