No description
Find a file
2020-05-23 10:51:26 +02:00
db Parameterize configuration 2020-05-19 19:21:09 +02:00
public publication code source 2020-05-19 19:14:33 +02:00
views publication code source 2020-05-19 19:14:33 +02:00
.gitignore Initial commit 2020-05-19 18:56:49 +02:00
docker-compose.yml Remove wrong port 2020-05-23 10:35:55 +02:00
Dockerfile Docker et sql 2020-05-19 20:15:03 +02:00
index.js publication code source 2020-05-19 19:14:33 +02:00
LICENSE Initial commit 2020-05-19 18:56:49 +02:00
package-lock.json publication code source 2020-05-19 19:14:33 +02:00
package.json publication code source 2020-05-19 19:14:33 +02:00
platoo.sql Docker et sql 2020-05-19 20:15:03 +02:00
README.md Instructions 2020-05-23 10:51:26 +02:00

platoo

Instructions

Launch docker compose stack:

sudo docker-compose up

Now, find the ID of your PostgreSQL database:

sudo docker ps

Mine is 1e211e6495ef. Now, we will copy our SQL file in the container and open a shell in it

docker cp platoo.sql 1e211e6495ef:/tmp
docker exec -ti 1e211e6495ef bash

Now, we will simply restore our file:

cd /tmp
psql -U platoo platoodb < platoo.sql