Website for PizzaHackers - the doer community of NIT Jamshedpur.
PizzaHackers runs on the following technologies.
- Clone the repository to your workspace.
git clone https://github.com/PizzaHackers/pizzahackers-web.git
-
Install
virtualenvwrapper
as described here. -
Create a new virtualenv.
mkvirtualenv pizzahackers-web
- Install the required dependencies in your virtualenv.
cd pizzahackers-web
pip install -r requirements.txt
- Run the local Django server.
python manage.py runserver
You app should now be live at http://localhost:8000
- Start hacking!
The project uses LESS for styling. The LESS files are then compiled into CSS using lessc
.
-
Install
nodejs
on your machine. Google it. -
Install
lessc
.
$ npm -g install lessc
- Install
pywatch
.
$ pip install pywatch
- Move into the project directory,
pizzahackers-web
. Now, run a worker that'll watch all LESS files for changes, and compile them to CSS automatically.
$ pywatch -v "lessc static/less/app.less static/css/app.css" static/less/*.less static/less/bootstrap/*.less
- Start hacking!