Skip to content
This repository has been archived by the owner on Dec 3, 2017. It is now read-only.
/ flasknotes Public archive

Technology showcase for flask, sqlalchemy, backbone, jade templates, bootstrap and sqlite

Notifications You must be signed in to change notification settings

mabasic/flasknotes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flasknotes

Technology showcase for flask, sqlalchemy, backbone, jade templates, bootstrap and sqlite. This is a simple web application for creating notes. Users first have to register, then log in and start creating notes. This application is created to learn how to develop serious web applications.

Quick notes

  • this showcase contains highly commented source code, so you can easily find your way around the code
  • read Setup part to correctly configure your environment

Requirements

  • Python 2.7 (I think every 2.x version should work) Download page
  • Python pip (for installing required packages) Installation instruction
  • Windows or Linux operating system (different virtualenv activation command)

Setup

Clone the project from github.

git clone https://github.com/mabasic/flasknotes.git

Install the following in exact order:

Virtualenv

pip install virtualenv

Inside the cloned project directory:

Virtualenv usage (Linux)

  • Create virtualenv environment
  • Activate virtualenv environment
virtualenv ENV
source ENV/bin/activate
  • When you want to stop working on this project, just type:
deactivate

Virtualenv usage (Windows)

  • Create virtualenv environment
  • Activate virtualenv environment
virtualenv venv
venv\scripts\activate
  • When you want to stop working on this project, just type:
deactivate

USEFUL TIP!!!

If virtualenv throws permission denied, when you try to activate it using source ENV/bin/activate or when you try to install something with pip, execute this code:

sudo chown -R user:group ENV

Installing requirements.txt using pip

Having virtualenv activated type the following:

pip install -r requirements.txt

This will install all neccessary requirements for this project except node.js.

Installing node.js

Required for compiling jade templates

Download page

About

Technology showcase for flask, sqlalchemy, backbone, jade templates, bootstrap and sqlite

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published