Skip to main content

#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!

http://127.0.0.1:8000/app1/

Release files for servercraft 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for servercraft 0.0.2
File Size Uploaded
servercraft-0.0.2.tar.gz 6.2 kB Details

Release files / servercraft-0.0.2.tar.gz

Download URL servercraft-0.0.2.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c132b698db47752b468b2529eff89c78c1d497a6d79c9c1cf782f6103c4d33ef
BLAKE2b-256 checksum
How to use checksums
b6e918f459c225186ee44a308deeffe9a3098e41ef7fd5afb899017b0793334a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page