From 7044d16ee05c278a98e7f50851b1ca72602677c7 Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 24 May 2024 11:48:08 -0400 Subject: [PATCH 1/2] Update docker-compose --- docker-compose.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9054279..08c01cd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,10 +4,5 @@ services: sermon-notes: container_name: sermon-notes image: ryanprather/sermon-notes:latest - command: - - "php bin/console doctrine:migrations:migrate --no-interaction" - - "bash install.sh" ports: - - 80:80 - volumes: - - .:/var/www/html \ No newline at end of file + - 80:80 \ No newline at end of file From 11f566897f684aae4b622569f77f73449e76199c Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 25 May 2024 08:01:46 -0400 Subject: [PATCH 2/2] Fix install instructions --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 40abbb0..b6d1954 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,9 @@ A program to take notes during a sermon. The web app was built with PHP and Sym ## Installation -The best option for installing is using the Docker container. Download the `docker-compose.yml` file from this repository and run `docker-compose up -d` from the command line. +1. Run `docker run -d --name sermon-notes -p 80:80 ryanprather/sermon-notes:latest`, this will download and start the container and keep it running in the background. If you already have something on port 80 change the first `80` to whatever open port you'd like. +2. Run `docker exec -it sermon-notes bash install.sh` This will run an install script to create an .env file specific to your install, populate with the beginning factors, and then run a `composer` command to download the necessary package dependancies. +3. Once complete you have a running system that you can navigate to in your browser with `http://{ip}:{port}|{hostname}:{port}`. Then you just need to register for an account. The first account that is created is made an admin so that you can access the `Reference Editor` and update any reference material if necessary. ## Operation @@ -24,7 +26,7 @@ Once you get logged in you'll be presented with the main home page ![HomePage](/assets/images/HomePage.png) -If you are accessing on a regular iPad the menu should be collapsed, if not, you may need to do that. I built this with a iPad 9th Gen in mind so your mileage may vary. +If you are accessing on a regular iPad the menu should be collapsed, if not, you may need to do that. I built this with a iPad 9th Gen in mind so visibility on another device may vary. ![Header](/assets/images/Header.png) @@ -62,5 +64,5 @@ or if the note was recently made you will see the most recent 4 notes listed und ![RecentNotes](/assets/images/RecentNotes.png) -By click either of the title links it will open the note and display it for you to edit or read. I can add "Notes" as future reference content. +By clicking either of the title links it will open the note and display it for you to edit or read. I can add "Notes" as future reference content.