nanobox-quickstarts / nanobox-nette

Quickstart for Nette with Nanobox

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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/

About

Quickstart for Nette with Nanobox

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


Languages

Language:HTML 64.2%Language:PHP 29.5%Language:ApacheConf 6.3%