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
Dockerfile
andrequirements.txt
. - Adds
gunicorn
torequirements.txt
. - Creates directories for
certbot
configuration and validation. - Sets the necessary permissions for
certbot
directories. - Creates a
docker-compose.yml
file with services for the web application, PostgreSQL database,certbot
, andnginx
. - Creates an
nginx
configuration 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