The project is deployed with NYUSH IT server.
Below is a picture of the architecture of the project.
First, you need to ssh into the server, usually done with terminal. When you ssh into the server for the first time, you need to do some extra checks, such as entering a password or using a private/public key. I used Oracle Cloud to deploy the website publicly, and it requires using a key.
Once you are in the server, to set things up, run sudo apt update
to update package list, and sudo apt install -y podman
to install podman. Installing docker involves more steps so I installed podman, but docker works as well.
2 docker images are needed. One is the nyush_exchange_backend:latest and the other is postgres:17.
In addition to that, inside the server there needs to be a folder storing the image files in the website, and also another folder that backs up the database. It’s not shown in the picture, but there is also the .env file in the server.
podman pull docker.io/minjae07206/nyush_exchange_platform_backend:latest
podman pull docker.io/library/postgres:17
podman network create my-network
scp /path/to/local/.env your_username@server home/username/.env