I’m creating a new server as you can notice and I would like to push directly to my git (hosted on my own server), so I could release a new version with a simple git push myserver branch.
If you want to achieve this as well you can connect to your remote ssh and execute
$ mkdir test.git
$ cd git
$ git --bare init
You will need to know the full path of your git folder to add to as a remote on your local, to check the full path run pwd. Back to your local machine add your remote server.
I’m migrating my blog and a few other stuff I have running to Amazon infrastructure. I needed an Amazon EC2 instance with PHP support and able to connect to a MySQL.
After a few good years with my blog out of date, I decided to start to write again and to migrate it to Heroku since his server was with a really old stack. I decided to use Heroku, Amazon RDS as Database service and S3 as file storage (for uploaded files)
Steps:
Disable all Wordpress’ extensions
Do a full backup (Wordpress, Database, Uploads, etc)
Send your code to Heroku using the repository you have created
Access your website
If you’re updating your Wordpress, there are chances to something go wrong or to some plugin to stop working with the new Wordpress version, so don’t forget to check and update them.
Also, if you have any other question or need more information a specific test, let me know. I can try to help.