Use django to build an online server
Project description
#ServerCraft
Feng Zhang (jumphone@163.com)
python2.7 and django1.8.7
Github: https://github.com/jumphone/servercraft
###Preparations:
pip install servercraft
###Step1: Write a python file: demo.py.
from servercraft import *
server_dir = “./”
server_name = “server_center”
app_name = ‘app1’
build_server(server_dir, server_name)
add_app(server_dir ,app_name, server_name)
###Step2: Type commands.
python demo.py
cd ./server_center
sh run_server.sh
###Step3: Check it!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
servercraft-0.0.2.tar.gz
(6.2 kB
view hashes)