-
Notifications
You must be signed in to change notification settings - Fork 7
Development
Roberto Prevato edited this page Dec 18, 2021
·
5 revisions
- Python 3.8
- Node.js 14.3.0
- nvm (recommended)
- Visual Studio Code
This page documents how to connect to a development instance of the PostgreSQL database using pgAdmin with Docker. When developing web applications, it is often useful to connect directly to the development environment database, for example to inspect the shape of the database after running migrations.
Run an instance of pgAdmin, mapping the local port 8080 to the container's port 80 (change the local port as desired).
docker run -p 8080:80 \
-e 'PGADMIN_DEFAULT_EMAIL=user@domain.com' \
-e 'PGADMIN_DEFAULT_PASSWORD=SuperSecret' \
-d dpage/pgadmin4Watch the following video tutorial, which presents Torino and explains how to configure a development environment, to know how to run the solution locally: Presenting Torino: configuring a development environment.