abhijithvijayan / ghost-on-github-pages

💻⏰ Ghost on Github Pages. Build and deploy Ghost for free in a few minutes.
https://abhijithvijayan.github.io/ghost-blog-demo/
Apache License 2.0
52 stars 13 forks source link

How-to install on macOS #28

Closed MironChen closed 4 years ago

MironChen commented 4 years ago

HI! Thank you for developing such a great program.

I would like to install it on my Mac, however when I try sudo apt-get install build-essential, it told me command not found: apt-get, which is not available in macOS, as well as

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update && sudo apt install yarn

Could you plz tell me how to solve it or if it is possible to install it on Mac? Thanks!

ghost commented 4 years ago

@MironChen This is for Debian packages. See this.

Once you have brew installed this should be installed already and you can just skip this part on MacOS.

For Yarn see this

Basically on macOS brew takes care of this and instructions are just slightly different.

MironChen commented 4 years ago

Thanks, I have successfully built it on my Mac.

Use brew install yarn instead of apt-get should be work.

abhijithvijayan commented 4 years ago

Glad this is sorted out.

This article was written for Ubuntu(when I was using the distro).

Anyway, closing this for now. feel free to reopen if necessary.