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.
- 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
- 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)
Clone the project from github.
git clone https://github.com/mabasic/flasknotes.git
Install the following in exact order:
pip install virtualenv
Inside the cloned project directory:
- Create virtualenv environment
- Activate virtualenv environment
virtualenv ENV
source ENV/bin/activate
- When you want to stop working on this project, just type:
deactivate
- 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
Having virtualenv activated type the following:
pip install -r requirements.txt
This will install all neccessary requirements for this project except node.js.
Required for compiling jade templates