Meow Blog is a blog for cats. It has the following features:
- a superuser can create new users from the admin page
- authenticated users can create, read, update, delete, and list their blog posts
- anonymous users can view blog posts
- Python 3.5
- Pip
- PostgreSQL
- npm
- Clone repository
$ git clone https://github.com/gitKrystan/django-meowblog.git
$ cd django-meowblog
-
Create and activate your virtual environment (using virtualenv or equivalent)
-
Install requirements
$ pip install -r requirements.txt
$ npm install
- Create your database
$ psql
# CREATE USER root;
# ALTER USER root CREATEDB;
# CREATE DATABASE meowblog OWNER root;
# \q
- Run migrations
$ python manage.py migrate
- Create superuser
$ python manage.py createsuperuser
then follow prompts
- Seed database
$ python manage.py loaddata seed.json
$ python manage.py runserver
- Visit your app at http://localhost:8000
$ python manage.py test
Copyright (c) 2016 Krystan Menne This software is licensed under the MIT license.