Giter Club home page Giter Club logo

monologue's Introduction

monologue

Christopher Walken

PyPI version PyPI format Join the chat at https://gitter.im/aisk/monologue

Simple blog system based on Django. Can be used as standalone project or as a django app to be used in your django project.

Usage

Embed

For used as a django app in your django project:

1, Install this package using $ pip install django-monologue, or using poetry / pipenv.

2, Add 'monogule' to you settings.py's INSTALLED_APPS field, it should be like this:

INSTALLED_APPS = [
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',

    ...

    'monologue',  # <- Add this.
]

3, Run $ python manage.py migrate monologue to create database tables.

4, Mount monologue's urls to your poject's urls.py. It should be looks like this:

from django.contrib import admin
from django.urls import include, path

urlpatterns = [
    path('admin/', admin.site.urls),

    ...

    path('blog/', include('monologue.urls')), #  <- Add this.
]

The mount path in this example above is blog/, you can change it to whatever you like.

5, Run your server as normal, and check if monologue works fine. Admin site is registered too.

Standalone

You can clone this repo and use it just like a normal django project.

And please notice that you should change the secret key in settings.py before use.

License

MIT

monologue's People

Contributors

aisk avatar dependabot[bot] avatar gitter-badger avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

gitter-badger

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.