zlp_backend
Back-end (API) for Zalupa.Online
zlp_backend es un proyecto de código abierto de Yaroslav Koval, escrito principalmente en Python. Última actualización: 14 sept 2022. El código fuente está en GitHub.
- Python
- Actualizado
- Estrellas
- 0
git clone https://github.com/koval01/zlp_backend.gitREADME
El README se muestra en su idioma original.
zlp_backend
Back-end (API) for Zalupa.Online
Start-Up
First, you need to clone the repository with the source code of the project.
git clone https://github.com/koval01/zlp_backend.git
Next, go to the created directory, and create an .env file
cd zlp_backend && nano .env
Specify environment variables in it
RE_SECRET = "Google ReCaptcha secret key"
SECRET_KEY_DONATE = "easydonate.ru shop key"
Next, you need to compile the Docker image
docker build -t zlp_backend .
After successful assembly, create a container and deploy the application in it.
docker run -d --name container_zlp -p 5000:5000 zlp_backend
Next, you need to direct your proxy server to this application
proxy_pass http://127.0.0.1:5000;
Additional
To view the list of containers use
docker ps
To view all containers
docker ps -a
To view container logs use
docker logs CONTAINER_ID
To kill the container
docker kill CONTAINER_ID
To remove the container by name
docker rm NAME_CONTAINER