The following guide provides instructions on installation using Docker.
Project Specs: .NET 8.1 (stable preview) API with PostgreSQL v15.1 database and Vue v3.2.13 front end.
Download and install Docker Desktop: https://www.docker.com/products/docker-desktop/
- Fork this repository, and clone the forked repository to your local machine by running
git clone https://github.com/<your-username>/art-gallery.git
- Navitage to the cloned repository's root directory:
cd <repository-name
>
-
Build and run the containers with the following command (ensure you have Docker Desktop open when doing so): -
docker-compose up --build
-
To re-run the container without rebuilding the images use:
docker-compose up
. Once changes have been made to the app, the container will need to be rebuilt usingdocker-compose build
ordocker-compose up --build
. -
The frontend will be available at
http://localhost
-
The backend will be available at
http://localhost:7194
, the database will be available onport 5433
-
To stop and remove the container, run
docker-compose down
-
A tutorial for using the above commands can be found at https://video.deakin.edu.au/media/t/1_7qeif4ui
art-gallery
├── .github
│ ├── pull_request_template.md
│ ├── workflows
│ │ ├── ci.yml
├── art-gallery-backend
│ ├── .vs
│ ├── art-gallery-backend
│ │ ├── Authentication
│ │ ├── db_dump
│ │ ├── Middleware
│ │ ├── Models
│ │ ├── Persistence
│ │ ├── Properties
│ │ ├── wwwroot
│ │ ├── appsettings.Development.json
│ │ ├── appsettings.json
│ │ ├── art-gallery-backend.csproj
│ │ ├── art-gallery-backend.csproj.user
│ │ ├── docker-compose-dev.yml
│ │ ├── Dockerfile
│ │ ├── Program.cs
│ │ ├── README.md
├── art-gallery-database
│ ├── db_sql.txt
├── art-gallery-frontend
│ ├── docs
│ ├── public
│ ├── src
│ ├── babel.config.js
│ ├── docker-compose-dev.yml
│ ├── Dockerfile
│ ├── jsconfig.json
│ ├── package-lock.json
│ ├── package.json
│ ├── README.md
│ ├── vue.config.js
├── vale/.vale
│ ├── thothtech
│ ├── vale-json.tmpl
│ ├── vale.tmpl
├── .editorconfig
├── .gitignore
├── .markdownlint.yml
├── .prettierignore
├── .prettierrc
├── vale.ini
├── CONTRIBUTING.md
├── docker-compose.yml
├── package-lock.json
└── README.md