Skip to content

Information for New StarCellBio Developer

skini edited this page Jul 22, 2014 · 3 revisions

pip install -r requirements.txt (found in starcellbio_html folder)

install homebrew

copy to virtual environment

install pip, virtualenv, and virtualwrapper

to start the server run:

./manage.py runserver

mysql may not work at first due to some error, to fix this error, issue the following command and it should be fixed

launchctl load -w /usr/local/Cellar/mysql/5.6.13/homebrew.mxcl.mysql.plist

(may be some variation with number following /mysql/)

run watch.py in the background during development because it recompiles the .gss and .soy into css and js files

.soy - like html templates with fields where you can insert model data Go to https://developers.google.com/closure/templates/docs/commands (Print Directives page too) and look at code to get an idea

.gss exactly like css but causes errors if there is incorrect syntax

Clone this wiki locally