Skip to content

nanobox-quickstarts/nanobox-ghost

Repository files navigation

Ghost from Scratch with Nanobox

Ghost from Scratch with Nanobox

Run a Ghost app locally. Install nothing besides Nanobox.

Clone the Repo

# clone the code
git clone https://github.com/nanobox-quickstarts/nanobox-ghost.git

# cd into the ghost app
cd nanobox-ghost

Run the App

# 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

Check it Out

Visit your app at ghost.dev:8080

Explore

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

Running in Production

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.