I’ve spent a month or so building out a theme, website, content and all, locally via MAMP and I’m now ready to go live. I’ve followed the tutorial below to setup Ghost via Digital Ocean:
I’ve created the droplet in Digital Ocean and now see the default theme and default installation:
I now need to copy my local version into production, however, I can’t find any docs on how to do it. As I already have a working /car/www/ghost install on Digital Ocean my best guess is to:
taz.gz my local ‘/ghost’ directory, and replace the production ‘/ghost’ directory with it.
Export the local MySQL database, create new one in production and import
Update some config file somewhere with the new MySQL details???
Smile and wave.
Before I attempt this is there guidance anyone could please share?
For content transfer, you’ll want to use the importer, and for theme transfers, you’ll want to download and upload your theme (which can be done in the design section. For image transfers, you can use classic sftp :)
Thank you @vikaspotluri123 ! I’ve run into another more serious issue when trying to update which I literally just posted about! Once I resolve that I look forward to trying your solution!