Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (25 sloc) 3.71 KB

LoveBird: free software to run websites


➡️ Also check out the new images-focused fork of LoveBird, Gallery 4


created by Dan McKeown

based on CodeIgniter 3

released under the MIT License, copyright 2016

LoveBird can be used to create blogs, online stores, pages, and more.

Setup

In order to install LoveBird, create a mySQL database and use the lovebird4.sql file included in the root of the project folder to set up the schema. Then copy the code to the root of a web server, after changing the data in /application/config/config.php to reflect the details of your site.

When your site is ready, change the constant "DEFAULT_NEW_USER_LEVEL" in your project's /application/config/config.php file to 10 [or desired level], then sign up for your account (and have any other admins sign up) and then once you have done that lower the "DEFAULT_NEW_USER_LEVEL" again, probably to 1. The levels for access of users can be adjusted in the users_levels table in the database.

After that you can customize the site to your needs. Edit the views that present the content so it looks the way you want, and modify the controllers for your purposes: visit the CodeIgniter documentaion and the LoveBird homepage to learn more about how to build out your site.

Links

Set up using Xampp or MAMP

The lovebird4.sql file in the root of the directory is the database. From Xampp you want to get to phpMyAdmin (if Xampp is running its phpMyAdmin install should be available at something like http://localhost:80/phpmyadmin), where you will want to create a new database with the name lovebird4 and then use the import feature to upload the lovebird4.sql file to that new database. After that it may well work but you have to check that the database user and password in the application/configure/config.php match valid credentials in your Xampp mySQL server--MAMP creates a user root with password root for the whole db server but Xampp may have different defaults so you just need to make sure that the user and password fields match ones with permissions to modify the lovebird4 database. So the best way is probably to go on phpMyAdmin and see if there is a root user already, and if not go to User accounts > add user account, and then put root in the user field and password field and then make sure to check 'check all' in the global privileges section before you create. If a root user exists you could create a new one with a different name but just make sure to change the (dev) db user name in the config.php.

To make sure your account is an admin account, after you have created it you can go into phpMyAdmin and change the integer [default 1] that corresponds to your user id (as found in the users table) in the users_levels table to 10 or higher.

The LoveBird app runs out of the index.php in the root of the project. In your server's settings, point the document root to the top level folder of the project.

The LoveBird project was originally developed for Jessica McKeown Photography.

Jessica McKeown Photography