Skip to content

Oni/Laravel-Pagodabox-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel implementation on Pagodabox

This is just a simple implementation of a Laravel application on Pagodabox.

The working deployment can be found at this link.

It just has a very basic login/register functionality.

How is it different from a standard Laravel app?

First of all, the .htaccess in the /public directory is ignored. Instead Pagodabox uses the .box file in the root directory.

The database configuration file db.php uses server globals in order to get database credentials. Using plaintext values isn't dangerous, but this way it's even simpler to deploy an application: you can use the same db.php and bind the database later from Pagodabox admin panel.

Remember to add these variables from Pagodabox:

db_host = "localhost;unix_socket=/tmp/mysql/<database name>.sock"
db_name = "<database name>"
db_user = "<database username>"
db_pass = "<database password>"

The database itself must be initialized using a tunnel. You can use it to make backups too.

About

A Laravel application deployed on Pagodabox

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages