This repository contains the PyEditorial project, which uses Python, pip, and JavaScript.
We have a bash script setup_dev_env.sh that sets up the development environment for you. It does the following:
- Clones the PyEditorial project from GitHub.
- Updates the requirements in the
Dockerfileandrequirements.txt. - Adds
gunicorntorequirements.txt. - Creates directories for
certbotconfiguration and validation. - Sets the necessary permissions for
certbotdirectories. - Creates a
docker-compose.ymlfile with services for the web application, PostgreSQL database,certbot, andnginx. - Creates an
nginxconfiguration file. - Starts the services using Docker Compose.
- Docker
- Docker Compose
- Git
- Bash
To use the script, navigate to the directory containing the script and run:
./setup_dev_env.sh
### You can access it via http://localhost:8000