nanobox-quickstarts / nanobox-slim

Quickstart for Slim with Nanobox

Home Page:https://guides.nanobox.io/php/slim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slim from scratch

Slim from scratch

Run a Slim app locally, install nothing besides nanobox.

Clone the repo

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

# cd into the slim app
cd nanobox-slim

Run the app

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

# Run slim as you would normally, with Nanobox
nanobox run php-server

Check it out

Visit your app at slim.dev

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 slim is installed,
php -v

# your packages are available,
composer show

# and your code is mounted
ls

Now What?

For more details about running slim apps with nanobox visit guides.nanobox.io/php/slim/

About

Quickstart for Slim with Nanobox

https://guides.nanobox.io/php/slim

License:Mozilla Public License 2.0


Languages

Language:PHP 79.7%Language:HTML 15.8%Language:ApacheConf 4.5%