Overview

Build Status

Passwood

Yet another password management tool.

Requirement

Those need to be installed first:

  • Python 3.3 (with virtualenv and pip installed)
  • Node.js (with npm installed)
  • Redis Server

And the bower need to be installed in system-wide:

$ npm install -g bower

Development

Create a sandbox environment with the virtualenv:

$ virtualenv -p python3.3 ~/.virtualenvs/passwood-env
$ . ~/.virtualenvs/passwood-env/bin/activate

Or with the virtualenvwrapper

$ mkvirtualenv -p python3.3 passwood-env
$ workon passwood-env

Clone the source and modify the configuration:

(passwood-env) $ git clone git@bitbucket.org:tonyseek/passwood.git
(passwood-env) $ cp .env.default .env
(passwood/dev) $ vim .env  # modify for your environment
(passwood-env) $ cp passwood/dev.cfg.example passwood/dev.cfg
(passwood/dev) $ vim passwood/dev.cfg  # modify for your environment

Install the dependencies:

(passwood-env) $ pip install -r requirements.txt
(passwood-env) $ npm install  # install assets compilers
(passwood-env) $ bower install  # install assets

Start the devlopment server and backend services:

(passwood-env) $ honcho start

Initialize the database and user account:

(passwood-env) $ ./manage.py syncdb -dv  # destory and create db
(passwood-env) $ ./manage.py adduser  # create first user

Finally, open your browser and go to http://localhost:5000 .