This is the website for the Colorado School of Mines' local chapter for the Association for Computing Machinery.
It is written in Python and uses the powerful web framework TurboGears.
Clone the repo:
$ git clone https://github.com/ColoradoSchoolOfMines/acm-website.git
Install the application and its dependencies:
$ pip install -e . --user
If you do not have gearbox
installed:
$ pip install --user tg.devtools
Setup the application:
$ cp development.ini.sample development.ini
$ gearbox setup-app
Finally, serve the application:
$ gearbox serve --reload --debug
Use a virtual environment if you do not want to install the needed Python packages into ~/.local
If you're unfamiliar with Python virtual environments:
Make sure you have virtualenvwrapper
installed
On Arch Linux:
$ sudo pacman -S python-virtualenvwrapper
Make a virtual environment:
$ mkvirtualenv acm-website
Activate the virtual environment:
$ workon acm-website
Install the application and its dependencies:
$ pip install -e .
If you do not have gearbox
installed:
$ pip install tg.devtools
Setup the application:
$ cp development.ini.sample development.ini
$ gearbox setup-app
Finally, serve the application:
$ gearbox serve --reload --debug
When you're finished working on the project and want to exit the virtual environment:
$ deactivate