Source Code Repository • Content Repository • Bot Repository
# Clone repository
git clone git@github.com:cybertec-postgresql/today-i-learned-content.git
# Change into the directory
cd today-i-learned-content
git lfs pullBefore running
docker-compose, make sure that the current working directory does not contain /usr or /home or a link to your ~. The mount option:Zwill result in the addition of thesvirt_sandbox_file_ttag to all directories and folders that contained (recursively) in the current working directory.
If you're unsure, ask somebody who knows about SELinux for assistance. Or read this.
# Start docker container for previews
docker-compose up --build(It might be the case, that you've already be added to the authors list.) Edit the file located under ./authors/authors.yml and add yourself to the authors list. Push these changes now, if they are in a content PR, they will get deleted.
New posts have to be written in ./posts/TEMPLATE/index.md. This file should not be renamed or moved to a different location. The normal github flavoured markdown syntax can be used.
To preview the newly created post visit http://localhost:8000. Now all that is left to do is create a new Pull Request and label it with "Content 📖" (or even with "Priority ❗").
The newly created pull request is proofread by one (or multiple) proofreaders and then approved. Daily at 12:00 GMT+0 one random post is automatically selected and published!
That's it!