Glass CLI
The Glass Command Line Interface is the easiest way to develop the templates and static content of your site. It's an open-source program and includes a python SDK for advanced programming.
Download the latest version below:
Mac Installation Instructions:
Download the binary, unzip it, and put it on your $PATH
wget http://static.servee.com.s3.amazonaws.com/glass-api/latest/glass_cli_mac-latest.tar.gz tar -xzvf glass_cli_mac-latest.tar.gz sudo mv glass /usr/bin/glass
Windows Installation Instructions:
Download the binary, unzip it, and add it's location to your PATH
An example is below. Change the names to fit your directories.
cd C:\Users\issac\Downloads mv glass.exe C:\Users\issac\Programs setx PATH "%PATH;C:\Users\issac\Programs"
Next time you open a command prompt you should be able to type "glass --version" and see the version number.
Linux Installation Instructions:
Download and install from Pypi
pip install glass-api
First Steps
Once it is installed, you can use it to manage your sites.
cd ~/Sites/mysite glass configure glass get_all # this command pulls all the files from the server glass put_all # this command puts all local files to the server once glass watch # this command puts local files to the server as they change