⚠️ This repository has moved to squarecloud-education/pgadmin4-web
square-pgadmin4 is a project made with a focus on making it possible to host a pgAdmin4 website on the Square Cloud hosting platform
With this project, you will be able to host a fully functional and accessible pgAdmin4 website anywhere at a cost of just $2.00/month!
- Firstly, you will need to have an active plan on Square Cloud, you can purchase it here
- Clone the repository with
git clone https://github.com/josejooj/square-pgadmin4 - Create a
.envfile - View .example.env for an example - Open the
squarecloud.appfile- Edit the line
SUBDOMAIN=pgadmin-nocache-<RANDOM_TEXT_HERE_WITH_MAX_46_CHARACTERS> - Example:
SUBDOMAIN=pgadmin-nocache-fc051a0bb46d438bae5157464ec6c1c8
- Edit the line
- Zip the files
.env,main.py,config_local.py,squarecloud.appandrequirements.txt - Upload this zip to Square Cloud