Toolkit is a simplified interface for adding tools and users to a generic workspace.
- mkvirtualenv toolkit (assume you have virtualenv and virtualenvwrapper installed)
- pip install -r requirements/dev.txt *
- copy dev.local_settings.py to /toolkit/local_setting.py
- fab rebuild_local (will download and install "stamp" - ruby rest api)
- honcho start (starts runserver_plus in threaded mode as well as the stamp service)
*If you are running XCode 5.1 and run into errors such as "Compile failed with error code 1 in /private/tmp/pip_build_root/"
Update to the newest version, or run:
ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install NAME
http://stackoverflow.com/questions/22716854/os-x-pillow-installation-error/22727537#22727537
easy_isntall pip
pip install virtualenvwrapper
...
$ export WORKON_HOME=~/.virtualenvs
$ mkdir -p $WORKON_HOME
$ source /usr/local/bin/virtualenvwrapper.sh
$ mkvirtualenv toolkit
this line goes in your .bashrc .zshrc or whatever your flavour is:
source /usr/local/bin/virtualenvwrapper.sh
it gives you access to mkvirtualenv rmvirtualenv etc
- mkvirtualenv toolkit (assume you have virtualenv and virtualenvwrapper installed)
- pip install -r requirements/dev.txt
- install yuglify ('npm install -g yuglify')
- fab rebuild_local (will download and install "stamp" - ruby rest api)
- honcho start (starts runserver_plus in threaded mode as well as the stamp service)
- or just ./manage.py runserver_plus --threaded
currently we dont use phantom but will do soon
OSX
Should be >= casperjs: 1.1.0-DEV Should be >= phantomjs: 1.9.0
brew update
brew install phantomjs
brew install casperjs --devel
UBUNTU
sudo apt-get install libxml2-dev libxslt1-dev
To run the service in gui mode
- honcho start : will get everythign running (remember to be in the toolkit virtualenv) and have installed the requirements
or
- ./manage.py runserver_plus --threaded
- cd gui;grunt django : will start the grunt in dev mode
Enabling these settings will allow you to build commit and test the production version of the gui application.
toolkit.local_settings.py
DEBUG = False
TEST_PREPROD = True
if TEST_PREPROD is True:
STATICFILES_DIRS = (
# These are the production files
# not that static is in gui/dist/static *not to be confused with the django {{ STATIC_URL }}ng/ which will now point correctly
("ng", os.path.join(SITE_ROOT, 'gui', 'dist')),
- fab build_gui
Will start with a worker name of "worker.1" which can be overridden
fab :environment celery_start
fab :environment celery_stop
fab :environment celery_restart
with customer worker name
fab :environment celery_start:name='custom_name.1'
fab :environment celery_stop:name='custom_name.1'
fab :environment celery_restart:name='custom_name.1'
If karma not installed:
npm install
npm install -g karma-cli
to run Karma:
karma start karma.conf.js
"The most important thing in communication is hearing what isn't said." - Peter Drucker
With that in mind, please adhere to the following subtle-communication requirements.
Ensure that you put guistimates in all of your tickets.. (0, 0.5, 1, 2, 3, 5, 8, 13, ...) fibonacci sequence
Required Name Format:
(:guesstimate) [:branch_name] Short Description
ie. (3) [my_amazing_branch] Make the pigs fly
Ensure that you enter an appropriate story: in the format defined here: http://kipling.io/#/
As a ________
I want ________
So that ________
Just what are stories anyway:
Install this chrome extension as it makes the guestimates look better:
Ensure that you create Pull Requests for every branch that you work on. At the beginning not the end (this allows everyone a birds eye view of whats going on)
Required Name Format:
When working on it.
[WIP] Short Name
When ready for review.
[REVIEW] Short Name