This repository will store the transition website for HackMerced 2017F. It is written in Python with the Flask framewrork and will be used to server some basic files as well as enable a microservice to list jobs from our internal filesystem. This readme will be updated on the full uses of this website and how to use it.
To run this website, you will need to have installed python 2.7
or higher, virtualenv
, and npm
Once those programs have been installed, please enter the following:
- Clone the respository
$ git clone https://github.com/HackMerced/website-2017t.git
- Establish your virtual environment
$ virtualenv --no-site-packages env
$ source env/bin/activate
- Install and build environment
$ npm run setup
- Modify and update env.json with your sample data
$ vi env.json
- Run server To start the webserver type the following:
$ npm start
The website should run on localhost:4220
- Cleanup Remember to deactivate your virtual environment when you are done
$ deactivate
There are no additional requirements for running a development instance of this website. For your sanity, we use gulp
to compile our watch and compile our static data.
$ npm run gulp