Goal:
- If
git push
onmaster
branch - Then sync files onto server and deploy (e.g., running
yarn run build
or any other scripts)
I’m on DigitalOcean’s server, but this works on any self hosted servers.
Continue readinggit push
on master
branchyarn run build
or any other scripts)I’m on DigitalOcean’s server, but this works on any self hosted servers.
Continue readingAllowing password login will undermine the safety of server, so instead we can set up SSH login for each user.
Continue readingThere are two parts when it comes to dealing with mails:
Steps to change site URL without visual login panel:
When assets within app/assets/
are not even being served. Goto config/environments/production.rb
and change the value of following into:
Edit ~/.bash_profile
with your preferred editor.
Add cd /your/directive
at the end.