PyWIN Core is a development software for creating your own GDPS, written in python
The main idea on PyWIN in a large plugin system that is currently being developed. Below you can see an example of future plugins
# discord client
import pywincord
from pywincord.wrapper import icons, difficulty
app = PyWIN()
@app.GDPSEvent('upload')
def discord_message(lvl):
embed = pywincord(
title = "New level in a GDCloud GDPS🥏"
desc = f"{lvl.name} by {lvl.authorName} \n {icons.coins}{lvl.coins} | {icons.lenght} {lvl.lenght}"
thumbnail = difficulty(lvl.difficulty)
)
pywincord.use_webhook(
embed
)In the config.json change
"use_env": True,And also rename .env.example to .env
After these actions core will start taking data about the database and redis from .env, and not from config.json
State what the users will be called, what password and database will be used
Use
make buildto download python with dependencies, and build project.Use
make runto run Postgresql , Adminer and your GDPS.Server starts on port 8000 by default, go ip:8000/database to check server status.
Without dockerfile you will have to install all dependencies and database manually.
Install dependencies
pip install -r requirements.txtAnd select a database. You can use Mysql, Postgresql, or the simplest - Sqlite
Use
sh start.shto start server on 8000 port.

