/blogging-web-app-tornado

Basic Web Application for blogging using Python tornado

Primary LanguagePython

Basic Web App for blogging

This blogging app build in Tornado Web Server.

Dependencies

Python | Tornado

Application Dependencies
tornado
mysql
mysql-connector-python
markdown2
bcrypt
configparser

Local development

Running the application locally

Virtual Enviornment

Create python virtual environment

python -m virtualenv env
source env/bin/activate

Note - In Windows, the env does not have a bin directory. Therefore, you'd use the analogous command shown below:

env/Scripts/activate
Install Dependencies

Install application dependencies within the requirements.txt file using pip:

pip install -r requirements.txt
Database Setup

Create database to store data With Mysql running, restore a database using the blog.sql file. and update blog.conf file with database, user, pass and port

Running the server locally

To run the server, execute:

python run.py