Skip to content

Latest commit

 

History

History
33 lines (15 loc) · 998 Bytes

README.md

File metadata and controls

33 lines (15 loc) · 998 Bytes

Flask-Bower-Grunt

Installation

You need to have nodeJS, npm, Grunt, Bower and Git installed on the system before you proceed:

`$ git clone <repo>`

`$ cd <repo>`

`$ virtualenv venv`

`$ source venv/bin/activate`

`$ pip install -r requirements.txt`

`$ npm install`

`$ bower install`

Enjoy!

Documentation

Make Grunt work, run $ grunt to execute the default tasks (you should have already installed grunt with $ npm install -g grunt-cli).

Grunt tasks: Copy jquery.js and bootstrap.js from bower_components to base/static/libs/ and along with the base/assets/js/test.js create the minified base/static/build/js/all.min.js file for production mode. Also, collects all the assets from existing modules and make them available in base/static/assets/

Flask needs a development server to run in order to serve the application. To do so, run $ python server.py. Your application will be available at 127.0.0.1:5000.