Skip to content

nanobox-quickstarts/nanobox-codeigniter

Repository files navigation

CodeIgniter from scratch

Codeigniter from scratch

Run a Codeigniter app locally, install nothing besides nanobox.

Clone the repo

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

# cd into the codeigniter app
cd nanobox-codeigniter

Run the app

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

# Start PHP and Apache with the 'php-server' command
nanobox run php-server

Check it out

Visit your app at codeigniter.dev

Explore

With Nanobox, you have everything you need develop and run your codeigniter app:

# drop into a Nanobox console
nanobox run

# where php is installed,
php -v

# your packages are available,
composer show

# and your code is mounted
ls

# exit the console
exit

Now What?

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