From 22c3ebaa41c0fdfe99d71947bb890534a5541aab Mon Sep 17 00:00:00 2001 From: Tim Gerundt Date: Fri, 12 Aug 2022 11:43:46 +0200 Subject: [PATCH 1/2] Add docker-compose.yml to README --- readme.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/readme.md b/readme.md index ce7fce8..45ee305 100644 --- a/readme.md +++ b/readme.md @@ -101,6 +101,24 @@ docker run -d \ typemill:local ``` +A simple `docker-compose.yml` file could looked like this +```yml +version: "2.0" + +services: + typemill: + image: typemill:local + volumes: + - /volume2/docker/typemill-test/settings/:/var/www/html/settings/ + - /volume2/docker/typemill-test/media/:/var/www/html/media/ + - /volume2/docker/typemill-test/cache/:/var/www/html/cache/ + - /volume2/docker/typemill-test/plugins/:/var/www/html/plugins/ + - /volume2/docker/typemill-test/content/:/var/www/html/content/ + - /volume2/docker/typemill-test/themes/:/var/www/html/themes/ + ports: + - 8080:80 +``` + #### Volumes - `settings` : persists users profiles, site configuration, etc. (empty by default) From cbae3a1d63edbc66fb1263f298062fa9bb53a35a Mon Sep 17 00:00:00 2001 From: Tim Gerundt Date: Fri, 12 Aug 2022 11:51:57 +0200 Subject: [PATCH 2/2] Small layout tweaks in README --- readme.md | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/readme.md b/readme.md index 45ee305..804d8a2 100644 --- a/readme.md +++ b/readme.md @@ -45,13 +45,17 @@ If you run a linux system, then please double check that mod_rewrite and htacces Download TYPEMILL from the [TYPEMILL website](http://typemill.net), unzip the files and you are done. -If you are a developer, you can also clone this repository. To do so, open your command line, go to your project folder (e.g. htdocs) and type: +If you are a developer, you can also clone this repository. To do so, open your command line, go to your project folder (e.g. `htdocs`) and type: - git clone git://github.com/typemill/typemill.git +``` +git clone git://github.com/typemill/typemill.git +``` The GitHub-version has no vendor-folder, so you have to update and include all libraries and dependencies with composer. To do so, open your command line, go to your TYPEMILL folder and type: - composer update +``` +composer update +``` If you did not use composer before, please go to the [composer website](http://getcomposer.org) and start to learn. @@ -59,19 +63,19 @@ To run TYPEMILL on a **live** system, simply upload the files to your server #### Make Folders Writable. -Make sure that the following folders and all their files are writable (permission 774 recursively): +Make sure that the following folders and all their files are writable (permission `774` recursively): -* cache -* content -* media -* settings +* `cache` +* `content` +* `media` +* `settings` You can use your ftp-software for that. ### Docker installation > :warning: This image does not provide TLS support. It's perfect either for local use or behind your own proxy, you're advised. -Clone and edit the config.example.php you find in this repository and move it as config.php +Clone and edit the `config.example.php` you find in this repository and move it as `config.php` ``` git clone git://github.com/trendschau/typemill.git cd typemill @@ -163,10 +167,10 @@ TYPEMILL is published under MIT licence. Please check the licence of the include Contributions are highly welcome. Please follow these rules: * If you plan bigger changes, then please create an issue first so we can discuss it. -* Fork the "DEVELOP" branch from typemill. Never use the master branch, because it is protected and only contains tested releases. +* Fork the `develop` branch from typemill. Never use the master branch, because it is protected and only contains tested releases. * Do your changes. * After that pull the recent develop branch again to get the latest changes. -* Then make a pull request for the DEVELOP branch. +* Then make a pull request for the `develop` branch. You can check the [roadmap for Typemill](https://github.com/typemill/typemill/issues/35) and scroll through the issues. I will mark issues in future that are easy to start with or where help is highly appreciated.