Skip to content

Simple Event Map Flask web application, including SQLAlchemy, WTForms, Bootstrap, OAuth, and more...

License

Notifications You must be signed in to change notification settings

homoludens/EventMap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Event Map

Simple Event Map Flask web application, including SQLAlchemy, WTForms and Bootstrap, OAuth, and more...

Demo

Installation

$ git clone git://github.com/homoludens/EventMap.git
$ cd EventMap

Setting up virual envirement

$ sudo pip install virtualenv
$ virtualenv venv
$ . venv/bin/activate

Install Dependencies

pip install -r requires.txt

Start application

python main.py

Exit virtualenv

$ deactivate

Customizations

Change this in __init__.py for reseting password:
  
MAIL_USERNAME = 'your.mail@gmail.com',
MAIL_PASSWORD = 'your.password',

Modules

Although it is possible for a Flask app to be contained entirely within a single Python module, this project splits different functionality into different modules to facilitate maintainability. Below is a description of each module.

  • __init__.py - Constructs the Flask app object and configures it. Imports the other modules to emulate a single-module application.
  • config.py - Contains the app configuration.
  • forms.py - Contains WTForms Form objects for use in views and templates.
  • hooks.py - Contains Flask and Jinja helper methods.
  • models.py - Contains the database model classes for SQLAlchemy.
  • views.py - Contains the app views.

Running

python main.py

Facebook OAuth login

go to http://localhost:5000 to view application and to make fb login to work

Screenshot

About

Simple Event Map Flask web application, including SQLAlchemy, WTForms, Bootstrap, OAuth, and more...

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published