Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 1.32 KB

readme.md

File metadata and controls

58 lines (37 loc) · 1.32 KB

Nette from Scratch

Nette from scratch

Run a Nette app locally, install nothing besides nanobox.

Clone the repo

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

# cd into the nette app
cd nanobox-nette

Run the app

# Optinally enable nette debug mode
nanobox evar add local NETTE_DEVEL=1

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

# Run nette using nette-php-server, with Nanobox
nanobox run php -S 0.0.0.0:8000 -t www

Check it out

Visit your app at nette.dev:8000

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

# your packages are available,
composer show

# and your code is mounted
ls

Now What?

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