Run a Ghost app locally. Install nothing besides Nanobox.
# clone the code
git clone https://github.com/nanobox-quickstarts/nanobox-ghost.git
# cd into the ghost app
cd nanobox-ghost
# Add a convenient way to access your app from the browser
nanobox dns add local ghost.dev
# Run Ghost with Nanobox
nanobox run yarn start
Visit your app at ghost.dev:8080
With Nanobox, you don't have to have anything installed on your machine to run your app:
# drop into a Nanobox console
nanobox run
# where node is installed,
node -v
# your packages are available,
yarn ls
# and your code is mounted
ls
This repo is pre-configured to run in production, however you will need to update the production url defined in the config.production.json
to match the url you intend to use in production. Nanobox provides app-urls for all apps using the pattern appname.nanoapp.io
. You're welcome to use that or your own custom domain.