Skip to content

fadziljusri/fajs

Repository files navigation

fajs

A Flask AngularJS dashboard boilerplate

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Installing

npm install
pip install -r requirements.txt

Running the application (Debug)

python manage.py runserver

Managing Assets

Using Flask-Assets, all js/css src are put inside manage.py file.

python manage.py assets ['build', 'watch', 'clean', 'check']

Files destination path is in static folder as belows:

  • scripts/vendor.min.js
  • scripts/app.min.js
  • styles/vendor.min.css
  • styles/main.min.css

Running the application

python app.py

Credits