Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Weblog

Build Status

This is the source code of my blog powered by Django.

Getting started

Clone this repository

git clone git@github.com:ajoyoommen/weblog.git
cd weblog/

Ensure you have virtualenv installed. Also postgresql and libpq-dev or its equivalent. Create and activate a new virtual environment.

pip install -r requirements.txt

Create a database for the blog. Export database credentials as enviroment variables.

export DBNAME=weblog
export DBPASS=password
export DBUSER=postgres
export STATIC_ROOT=/home/user/static/
export MEDIA_ROOT=/home/user/media/

Create database schema for the application

python manage.py migrate

Run a developement server

python manage.py runserver

Running tests

You can run tests using the postgres database by running

./manage.py test

In memory tests (faster) can be run using:

./manage.py test --settings=weblog.settings.tests

About

Django-powered blog

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.