GitHub - a826410703/bootcamp: 一个社区网站, 使用 Python 3.6 & Django 1.10 构建 · GitHub
Skip to content
 
 

Latest commit

 

History

376 Commits

Folders and files

Repository files navigation

Bootcamp

Build Status codecov

Bootcamp is an open source social network built with Python using the Django Web Framework.

Demo:

https://bootcamp.qulc.me/

Fork Features

  • Add unittest and show coverage
  • Migrate from Python 2 to Python 3.6
  • Code style pep8 format
  • Add Travi CI auto test and deploy to heroku
  • Change allow guest user access
  • Internationalization add Chinese support
  • Upgrade Django to lastest version

Doing

  • Add cache optimization
  • Optimization search

Install Guide

$ git clone https://github.com/qulc/bootcamp.git
$ cd bootcamp/

# Use Python 3.6 virtualenv or pyenv
$ python -m venv {VENV} && source venv/bin/activate
$ python -m pip install -r requirements.txt

# Add DATABASE_URL, REDIS_URL config to env
$ export REDIS_URL=redis://localhost:6379/0
$ export DATABASE_URL=postgres://postgres:@localhost:5432/bootcamp

# Create Tables
$ python manage.py makemigrations
$ python manage.py migrate

# Test
$ python manage.py test

# Run
$ python manage.py collectstatic
$ python manage.py runserver

About

一个社区网站, 使用 Python 3.6 & Django 1.10 构建

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages