Lychee is a free and open source photo management system that allows its user to upload photos to create a portfolio, photo gallery, and even share and manage personal photos.
This post will present a step by step guide on how to install Lychee for free on Cloud9 for development purposes, please note that it’s not advisable to install a production version of the web application on Cloud9 as the free tier isn’t designed for that intended purpose. Now, and without further ado let’s dive into the tutorial.
First, you’ll need to sign-up for the free version of Cloud9.
After signing up and confirming your email, you’ll be directed to your dashboard, just click on the “add workspace” plus sign.
You’ll be directed to a new window where you should set up your workspace, select the PHP option, in the clone from git field, copy and paste the following link “https://github.com/electerious/Lychee.git” and then create the workspace.
Now, just click on the “Run Project” arrow, then click on the “Preview”, the installation window will appear in a browser like a side-window.
In the first step of the installation process you should enter the database credentials, use the ones in the screenshot below; Host Name “0.0.0.0”, username “root”, database name “c9”. Finally hit the ‘Connect” tab.
In the second step of the installation process, you should create your admin password and username. Finally hit the “Create Login” tab.
Now, you should find a link to your login page just click on it and you’ll be directed to the admin login window, just log in using the admin username and password you have created in step 5.
Congratulations, now you have a fully functional installation of Lychee on Cloud9 IDE. But, remember this installation should be for development purposes only and not for production.