https://github.com/jessmattless/file-storage-application
This was a duo project made during my second year at university, made using Java and utilising Docker
https://github.com/jessmattless/file-storage-application
css docker java javafx sqlite3 ssh
Last synced: 4 months ago
JSON representation
This was a duo project made during my second year at university, made using Java and utilising Docker
- Host: GitHub
- URL: https://github.com/jessmattless/file-storage-application
- Owner: JessMattless
- Created: 2024-05-14T21:09:22.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-14T21:45:46.000Z (about 2 years ago)
- Last Synced: 2025-03-20T18:40:16.812Z (over 1 year ago)
- Topics: css, docker, java, javafx, sqlite3, ssh
- Language: Java
- Homepage:
- Size: 504 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# COMP20081_Group_Assessment
If running the app outside the app container the terminal emulator will only work properly if your pc has been authorised. First generate a key pair by running the following in the terminal
```
ssh-keygen
```
Then copy the public key from ```~/.ssh/id_rsa.pub``` and append it to the list of keys in ```/Docker/Storage/authorized_keys```
---
In order to run the app the containers need to be running. It will not even run without them.
If it's the first time launching the containers the docker-compose needs to be built. This can be done by openning a terminal in ```/Docker``` and running the following:
```
docker-compose build
```
From this point on, as long as the docker-compose file is not changed the containers can be started by running the following in ```/Docker```:
```
docker-compose up -d
```
To bring the containers down run the following in ```/Docker```:
```
docker-compose down
```
---
The first time the app is ran on a machine or in a new container it may be necessary to set known hosts. To do this run the set_known_hosts.sh script in the projects root directory:
```
bash ./set_known_hosts.sh
```