First steps
- install sage
- type "sage -sh"
install flask by typing easy_install flask
install pymongo by typing easy_install pymongo
Next steps
Start by going to the main google code page and creating your own clone. (We'll pretend the clone is named jwbober-lmfdb)
Now, in location that you want to do development, checkout that clone by typing hg clone https://jwbober-lmfdb.googlecode.com/hg/ jwbober-lmfdb (If you don't have mercurial, you can run it by typing sage -hg instead.)
(At this point, you may have problems because mercurial can't find the _ssl module. If so, see here.)
Install mathjax: Download the BETA latest release and unpack it the folder jwbober-lmfdb/static
Before running the code for the website, you need to connect to the database (unless you're running the code on boxen). Do this by typing (in a different terminal) ssh -L 37010:localhost:37010 boxen.math.washington.edu.
Now you can run the website by typing sage website.py.
Making changes
Learn more about mercurial if you need to.
After you make some changes, type hg commit to make them permanent.
To make your changes available to other people, type hg push. You'll need to give a username and password. The username is whatever you used when you created the clone, and the password is in your google code profile page.
To run the website somewhere where other people can see your changes, checkout the code on boxen.math.washington.edu, and run it there. Run it with sage website.py 37100 to run it, for example, on port 37100.
