This repository is used to test Heroku and port existing projects to this platform. The goal is to support Herko as a demonstration platform in future repositories with simple small steps. The commits in the repository are not written according to the usual rules - please forgive me ;)
Once the repository reaches a clean state, the steps are combined into a proper README. So far, however, it's been more like trying, making mistakes, and correcting mistakes.
The following steps and insights are to be achieved through this repository:
- Modify an existing repository without Heroku integration so that it can be run under Heroku 1.1 The repository consists of a docker container with a cron job to be executed and a website 1.2 The container is currently running permanently and should ideally only run at the time of the cron job (initiated by cron or similar) and the display of the website (initiated by user)
- Learn the necessary commands for this implementation
- Testing the behaviour and possibilities of Heroku
- Converting the original repository to Heroku support, without losing the previous startup and execution options
- Documentation of the necessary steps to be taken in order to be able to offer a recommendation for later changes in projects
This repository is based on the original repository fah-red-lions-backend.
You are welcome to test this repository yourself. Feel free to use the button below or integrate your own repository into Heroku.
- local docker installation
- local git CLI
- local heroku CLI
- (optional) Sourcetree or similar tool for easy administration of the repository
- clone or create repository
heroku container:login
heroku create
- modify repository
heroku container:push web
heroku container:release web
heroku open
andheroku logs --tail
- reperat 4 to 8
- [OK] Integrate repository or components
- [OK] allow basic access to the website (without data)
- [OK] Display the website as original (without data)
- [OK] Displays the first data in Web page
- [--] Regular data retrieval and storage in containers
- [--] Conversion of the original repository to Heroku support
MIT, do whatever you want with it ;)