Installation

Prerequisite

Access to Virtual Private Server with MySql 5.7, PHP 7.3 with all required extensions installed and running.

Git

It's recommended that you use git . as a part of your install & deploy strategy with LaraOne CMS. With git you will clone LaraOne CMS directly from github.com. Start by cloning out the below link into a folder of your choice. Inside a directory where you want to have the cms run this command:

    git clone https://github.com/laraone/laraone

Composer

You will need to have access to php package manager Composer . Install composer if it's not already on your machine. Inside the same folder where you cloned the LaraOne backend, run this command:

    composer install

This command will install all package dependencies both Laravel Framework and LaraOne CMS have together.

Env file

Copy and then rename .env.example into .env

Note: .env file is used by Laravel applications and is neccessary for LaraOne CMS to run correctly.

Create a database

Before we install the CMS you need to create a database. We suggest you name it laraone.

Install Wizard

After completing the steps above, assuming you have already setup a local domain pointing to a folder where you installed the cms, visit

    http://local-domain.test/installation

Note: Replace local-domain.test with your own local domain that points to LaraOne folder.

Note: Most local environments for PHP applications come with a feature to automagically give you links for any folders you create under /www folder, links like myapp.dev or myapp.test

Imporant: When using the Install Wizard, LaraOne will always be put in production mode independent of what is set in .env file. This is done for security reasons, so that less experienced developers and non-developers would not by misstake deploy the CMS with application environment set to local while installing on a live server. When installing from CLI, install process will respect environment that is set in .env file.

Once you visit local domain, you will be met by this screen.

First Steps asks you to provide database information. Provide the information for your own local environment.

Provide website title, pick a user name, provide the email address and a password.

Installation will take few moments depending on how fast your machine is. If everything goes well, you should be met by this screen.

If you reach this screen installation has been successful, click on the "Go to Login" button and now you can login into your local website.