Asynchronous Backend Framework
Initial code pull and local environment deployment:
- git clone https://github.com/YSH0313/pacer.git
- Change the MYSQL address in settings.py to your own.
Operating environment
- Python3.7.2 and above
- Install dependencies in requirements.txt
Usage
- Use the pacer -p <project_name> command to create a project.
- Use production.py to create an app.
- The application directory contains the created app project.
- Write view functions in the created app.
- The urls.py under the app project is used to store corresponding views and routes.
Start the service
- Execute runner.py to start the service.
Start the service in production environment
- Docker can be used to start or other methods, docker startup is recommended.
- You can execute docker-compose up -d in the project root directory.
- The service can be restarted directly by executing reload_server.sh.
- Dockerfile and docker-compose.yml parameters can be adjusted as needed.
Metadata
Release files for pacer-builder 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pacer_builder-0.3.1.tar.gz | 197.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pacer_builder-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 419.5 kB
Release files / pacer_builder-0.3.1.tar.gz
| Download URL | pacer_builder-0.3.1.tar.gz |
|---|---|
| Size | 197.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c097a32d66982a08f6e56808a44789004b7d4c25e1bbb267a62b6bed719df80a
|
|
BLAKE2b-256 checksum How to use checksums |
542d7573a7d8770515a69907cd5215c207950666cb3fb2cf61be8ce01d1f88ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.0 CPython/3.7.2 Darwin/21.6.0
|
Release files / pacer_builder-0.3.1-py3-none-any.whl
| Download URL | pacer_builder-0.3.1-py3-none-any.whl |
|---|---|
| Size | 222.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
798266ca5d8710dead61e634192c12df0641fbf0e5fc484ee00faaa8607e12ad
|
|
BLAKE2b-256 checksum How to use checksums |
63d99e0033ebd1625558b25808b796bd1676a00f59c42b8330779952e7557658
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.0 CPython/3.7.2 Darwin/21.6.0
|