Skip to content

itswcg/bootcamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bootcamp2

Bootcamp2 is my-built wheel based on bootcamp with Django 2.

Some new features

  • Django 2 and Python 3.6
  • Follow system  
  • Direct messages button
  • Home page optimization
  • Aticle and question relate to feed

Demo

Please visit:

Install Guide

$ git clone https://github.com/itswcg/bootcamp2.git
$ cd bootcamp2/

# 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/bootcamp2

# Cloudinary image setting
# please fill in api_key and api_secret in bootcamp2/bootcamp2/core/views.py

# Setting
# bootcamp2/settings.py DEBUG = True

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

# Test
$ python manage.py test

# Run
$ python manage.py compilemessages #可省略
$ python manage.py collectstatic
$ python manage.py runserver

Releases

No releases published

Packages

No packages published

Languages