matthiku / cSpot

c-SPOT - the church-Services Planning Online Tool
5 stars 4 forks source link

Docker image to host cSpot #200

Closed chris24walsh closed 4 years ago

chris24walsh commented 4 years ago

Created a Dockerfile for building a Docker image which can host cSpot. It includes the dependencies required by the cSpot project, not all of these were apparent in the project documentation - particularly a (seeming) error in the naming of a app directory, app/, which was referenced in the code as App/ instead. Since it took me some time to work out how to install the project correctly, I thought it would be helpful to write this Dockerfile to simplify the process for other users/developers. Plus, Docker is awesome :)

I've included some instructions in the readme, to get started with running the docker container.

chris24walsh commented 4 years ago

Hi @matthiku! This may be out of the blue, but I recently saw your project in my starred list here on Github and was checking it out. I wanted to try it, and encountered many issues to install it and get it to just work. So, I made this Dockerfile to contribute something for you and other users/developers :) Please review and let me know what you think of the Dockerfile installation and README addition, happy to let you modify it however you want before merging. Also happy to talk about anything that is not clear. Nice project!

matthiku commented 4 years ago

Nice job, Chris and thanks so much! Sadly, I had little time in the last couple of months to work on this project so I'm a bit out of touch with it, but I would love for you to get more involved in it if you want! Let me know what you think.

chris24walsh commented 4 years ago

Sure, I'll dig a little more. However, I also have very little time since we had our daughter a few months ago :) There's one thing I wanted to ask you, can you check the installation steps in the Dockerfile? Following those, I can get cSpot installed and serving over port 80 in the container, however, either registering a user or resetting the admin password fails. Perhaps it has something to do with the issues I experience regarding the app/ directory, which I had to rename to App/ in order to get composer to install the project. Thanks, I'll try and give some time in the future towards this project!