- Create a file to store our credentials:
sudo vim /etc/postfix/sasl_passwd
sudo vim /etc/postfix/sasl_passwd
The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.
The correct way of creating a private frok by duplicating the repo is documented here.
For this assignment the commands are:
git clone --bare [email protected]:usi-systems/easytrace.git
FWIW: I didn't produce the content presented here (the outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
| // add this to hooks.js in hooks.after.providersBooted fn | |
| View.global('absoluteUrl', function (path) { | |
| const req = this.resolve('request') | |
| let baseUrl = req.secure() ? 'https://' : 'http://' | |
| baseUrl += req.headers().host + '/' | |
| if (typeof path !== 'undefined') { | |
| path = (path.substring(0, 1) === '/') | |
| ? path.substring(1) | |
| : path |