Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.3 KB

nanobox.md

File metadata and controls

34 lines (23 loc) · 1.3 KB

Slackin with Nanobox

This is the a nanobox deployable version of Slackin and is pre-configured and nearly ready to run with nanobox!

Up and Running

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

# cd into the slackin app
cd nanobox-slackin

# build runtime and compile application
nanobox build

# deploy runtime to dev environment
nanobox dev deploy

# add environment variables to dev environment*
nanobox dev evar add SLACK_COC="${SLACK_COC}",SLACK_CHANNELS="${SLACK_CHANNELS}",SLACK_SUBDOMAIN="${SLACK_SUBDOMAIN}",SLACK_API_TOKEN="${SLACK_API_TOKEN}",PORT=8080

# add a convenient way to access your app from the browser
nanobox dev dns add slackin.nanobox.dev

# start the dev environment and run the app server
nanobox dev run

*before running in production, you will need to add the environment variables to your production app

Visit the app from your favorite browser at: slackin.nanobox.dev:8080

Now What?

For more details about how this works or for more advanced topics related to running node applications on nanobox, visit guides.nanobox.io/nodejs/