Now it's time to configure your Hummingbird instance.
First you'll have to set-up the
.htaccess file, it should be placed on the root of your folder:
Open it up in your favorite text editor and look for the following line:
/github/hummingbird-lite/index.php/$1/ with the appropiate route.
In our example, we have placed the files inside the
htdocs/hummingbird folder, so we must set it as
/hummingbird/index.php/$1/ on the
.htaccess file as shown below:
Now it's time to set-up the
config.inc.php file. It's located under the
Open it up and you should see a PHP
$settings. It has three major keys:
These are your configuration profiles. They allow you to easily test and deploy your sites without losing the configuration values of your development environment or to connect to different databases depending on where the site is located.
development profile and search for the
site_url entry. There you should enter your site URL, for our example, it is located on
http://localhost/hummingbird so we will update it as shown below:
If you save the file and point your web browser to that URL, you should see something like this:
That means that your site is now properly configured.
Now you may want to check some of the tutorials we've created so you can learn how to use the database, add pages, routes and many more.
They're available on the sidebar to your left, along with the more advanced object reference.Go back to previous page