yuan is a distributed packaging system for spmjs.org
Python HTML CSS Other
Switch branches/tags
Nothing to show
Latest commit f1e8ee3 Apr 1, 2015 @lepture lepture Fix readme
Permalink
Failed to load latest commit information.
conf Pin versions of requirements Apr 1, 2015
data
docs
scripts
tests
yuan
.gitignore
.gitmodules
Makefile
README.rst
fabfile.py
manager.py
wsgi.py

README.rst

Yuan

yuan is a distributed packaging system for spmjs.org.

Installation

Make sure you have Python 2.7.x installed.

Clone this repo:

$ git clone git://github.com/lepture/yuan.git yuan

Install every requirements we need:

$ pip install -r conf/reqs-pro.txt

If you don't have pip, install pip first:

$ easy_install pip

Configuration

Make a directory called etc in this repo, copy a basic config file and edit it:

$ mkdir etc
$ cp conf/base_config.py etc/config.py
$ vim etc/config.py

Find Account Password

$ python manager.py shell
>>> from yuan.models import Account
>>> Account.query.all()
>>> jq = Account.query.filter_by(name="jquery").first()
>>> jq.password = jq.create_password("alipay")
>>> jq.save()