-
Notifications
You must be signed in to change notification settings - Fork 0
ckloote/blogeng
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A simple blogging engine done as a project to learn Python web development. Requires: Apache mod_wsgi MySQL Python python-mysql python-yaml python-webpy Setup: Installation of the requirements outside scope of this README Create Database: $ mysql -u root -p Password: mysql> create database $DB_NAME; mysql> create user '$DB_USER'@'localhost' identified by '$DB_PASS'; mysql> grant all on $DB_NAME.* to '$DB_USER'@'localhost'; mysql> quit $ mysql -u root -p $DB_NAME < sql/blogeng.sql Password: Add following to your Apache config: LoadModule wsgi_module modules/mod_wsgi.so <VirtualHost *:80> ServerAdmin your_email@somewhere.com DocumentRoot "/path/to/app" ServerName www.somewhere.com ErrorLog "/path/to/logs/error_log" CustomLog "/path/to/logs/access_log" common WSGIScriptAlias / /path/to/app/main.py WSGIPassAuthorization On Alias /static /path/to/app/static <Directory /path/to/app/> Order deny,allow Allow from all </Directory> AddType text/html .py </VirtualHost> Edit blogeng config file: $ cp conf/blogeng.example.yaml conf/blogeng.yaml $ emacs conf/blogeng.yaml File is fairly self explanatory
About
Simple Blogging Engine
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published