Giter Club home page Giter Club logo

nxblog's Introduction

Introduction

a high performance blog system by python django. Only use stduy, do't use on production.

Demo

http://210.209.125.135:8000/blog/

Install

Requrired: MySQL > 5.1 Python = 2.7

Install Django Packet:

# pip install Django==1.9.12
# pip install xadmin
# pip install django-crispy-forms
# pip install django-reversion
# pip install importlib
# pip install markdown2
# pip install django_markdown
# pip install django-markdownx
# pip install django-pagedown
# pip install MySQL-python   (or # yum -y install MySQL-python.x86_64)

Clone Nxblog :

# git clone https://github.com/ruzuojun/nxblog.git

Database Settings:

# cd nxblog/
# vim nxblog/settings.py

--modify mysql connection follow example : DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'nxblog', 'USER': 'root', 'PASSWORD': 'root', 'HOST': '127.0.0.1', 'PORT': '3306', } }

Collect Static:

# python manage.py collectstatic

Migrate DB:

# python manage.py migrate

Create Super User:

# python manage.py createsuperuser

Runserver:

# python manage.py runserver 

Blog URL: http://127.0.0.1:8000/

Admin URL: http://127.0.0.1:8000/admin

Xadmin URL: http://127.0.0.1:8000/xadmin

nxblog's People

Contributors

ruyi1024 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

nxblog's Issues

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.