ghost-cms icon indicating copy to clipboard operation
ghost-cms copied to clipboard

Do you have to clone repo first to run in prod?

Open gitleet opened this issue 5 years ago • 3 comments

Hi, If i run the bash script:

curl -s https://raw.githubusercontent.com/clean-docker/ghost-cms/master/dc | bash -s setup mydomain.com

It doesn't work because there is no docker-compose or config files on my new server. Are you suppose to first clone the repo and go to a particular directory first??

gitleet avatar May 27 '20 20:05 gitleet

Hi @gitleet,

I updated the script

I'm assuming that it's a server running a clean Ubuntu. It's not required to install or change anything. The step-by-step is:

  • Create a clean Ubuntu server.
  • Access it via ssh, you will be in the user root folder.
  • Run the command.

What's the issue that you are facing?

rafaelstz avatar May 28 '20 02:05 rafaelstz

It couldn't find the config files to perform the sed replacements, I had to manually fix it and rerun some of the commands int he script so I think it was not in the correct folder based on the script.

gitleet avatar Jun 03 '20 20:06 gitleet

Nice @gitleet , could you provide a PR with this fix?

rafaelstz avatar Jun 03 '20 22:06 rafaelstz