Stuff James learns, mostly coding
Next up: learn what kind of message I can put here to persuade you to start your own site, sharing the things you learn.
Quick fix Correct fix (via github.com/thestinger/termite)
Initial setup Use digital ocean image with Dokku pre-installed, set up ssh key through web. apt update && apt full-upgrade to update packages. dokku apps:create myapp.somedomain.com and add git remote add dokku dokku@DOKKU_HOSTNAME:myapp.somedomain.com I used /etc/hosts to access the image from a hostname instead of IP. More detailed setup in the various deploy with dokkuContinue reading “Dokku commands: Heroku like deployment with support for docker”
display: flex for the main container justify-content and align-items to center vh and vw units are percentage points of the viewport. To have an element take half the screen width use max-width: 50vh. Can set body to height: 100% and margin: 0. Can also use vh units.
apt update – gets an up to date list of packages that can be installed or updated apt upgrade – updates packages it can, but never removes packages apt full-upgrade – updates packages more aggressively, removing packages that block other updates apt-get dist-upgrade an old name for full-upgrade do-release-upgrade upgrades to the latest operating systemContinue reading “Ubuntu apt update vs upgrade vs dist-upgrade vs do-release-upgrade”
Below are links I had open while learning how to use docker-compose with Rails, and using Dokku for deployments. Dockerize Rails https://semaphoreci.com/community/tutorials/dockerizing-a-ruby-on-rails-application https://thoughtbot.com/blog/rails-on-docker https://www.linode.com/docs/applications/containers/docker-container-communication/ https://docs.docker.com/compose/rails/ Set up CI/CD https://gist.github.com/lucaspiller/d5bf6ea1c06b4dbaad98f97372319324 https://gitlab.com/guided-explorations/containers/kaniko-docker-build/-/blob/master/.gitlab-ci.yml https://docs.gitlab.com/ee/ci/docker/using_kaniko.html Deploy https://medium.com/@rokerkony/how-to-set-your-vps-with-docker-containers-for-multiple-websites-55524e59cae1 https://auth0.com/blog/hosting-applications-using-digitalocean-and-dokku/ http://dokku.viewdocs.io/dokku/getting-started/installation/ http://dokku.viewdocs.io/dokku/deployment/application-deployment/ http://dokku.viewdocs.io/dokku/getting-started/install/digitalocean/ https://blog.ssdnodes.com/blog/getting-started-docker-vps/ https://docs.docker.com/compose/production/ https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-18-04
Unsplash Pexels Pixabay, includes vectors ShutterStock, offering 10 free Adobe Stock, offering 10 free in the first month
Google Find the app on the Play Store in a web browserE.g. The URL for the WordPress App is https://play.google.com/store/apps/details?id=org.wordpress.android Enter the URL into Google’s Badge Maker Apple Find the app either by searching Apple’s website or through a search engine. E.g. The URL for the WordPress App can be found at https://apps.apple.com/gb/app/wordpress/id335703880 Use Apple’sContinue reading “How to create App badges”
Many domain names come with free email forwarding, but sending so it appears to come from that domain name often requires a paid SMTP service that might cost £10/year. While searching I found Pobox that lets you set up multiple domains for a flat fee, which had the bonus of working via email forwarding thatContinue reading “Send email for a domain name for free”
Get new content delivered directly to your inbox.