Larvela
Larvela

Installation Instructions - via CLI

Overview

Hosting Directory

You need to configure a hosting directory to hold the code base. You can configure it manually in your httpd/nginx installation or use CPanel or Plesk. This set is up to you and beyond our control.

Framework Requirements

The current release will specify the framework version, tools, code and support modules so you wont need to do anything extra unless you want additional packages to be installed.

You need to install "Composer" and the "Git" tool if you wish to clone the Larvela Repo (which I suggest is the quick and easy method to install.

Database

Larvela requires a database to work, its been fully tested with MariaDB / MySql installations. basically if the Laravel Framework works with the DB you have then you should not have any issues.

To create a DB from the command line you can try the following commands from the Linux prompt.

#mysql
MariaDB [(none)]>
MariaDB [(none)]>create database mystore;
Query OK, 1 row affected (0.02 sec)

MariaDB [(none)]>create user 'mydbuser'@'localhost' identified by 'mysecurepassword';
Query OK, 0 row affected (0.02 sec)

MariaDB [(none)]>grant all privileges on mystore.* to 'mydbuser'@'localhost';
Query OK, 0 rows affected (0.00 sec)

MariaDB [(none)]>quit
#
Copy the user, db name and password into your .env file.

Creation

You can either use command line Git tool to pull down a clone of the current release, or go to https://github.com/offgridengineering and download a zip of the code and put it in your web server document root.

The sequence below creates a directory (called "demo") and then using the standard PHP tool composer, downloads the framework and dependencies in one hit.

Installation starts in the directory below the base install of the code base, which is 1 below the Laravel "public" directory.

My development environment looks like:

Public Document Root: /var/www/vhosts/larvela.org/demo/public/index.php
Laravel base Directory: /var/www/vhosts/larvela.org/demo/
Installation starting point: /var/www/vhosts/larvela.org/

[root]#git clone https://github.com/offgridengineering/Larvela.git demo
[root]#cp .env.example demo/.env < - edit this to include you DB parameters from above.
cd demo
composer install
chown -R apache:apache ../demo
php artisan key:generate
php artisan migrate --seed

Initial Configuration

Using your web browser, navigate to the domain using the following syntax https://your-store-domain-here/ and you should be greated by the Larvela Installer.

Installation requires a store Administrator as the first user. Enter you store administrator email, it must be a real email for notices and confirmations fromt he store. Enter a safe password or let it generate one. Then proceed to basic store creation, this will give you an initial store configuration to work with.

Post Install Configuration

Log into the Administration Console as the store Adminstrator (the email address you entered above) and configure the first store using. You need to also enter the STORE_CODE in your HTTP environment to enable it to display if you are running multiple stores. Generally you can do this via the CLI or if you are using CPanel or Plesk, via their User Interfaces.

Remaining Tasks

Install your Theme. Configure your categories. Add your Products.




About Larvela

Larvela is a Laravel 5 web application providing a fast and simple eCommerce framework and natively supports the Bootstrap Responsive UI framework. It was developed to replace aging Magento stores that had become to complicated and expensive to upgrade or maintain.

Larvela provides a host of feature you find in high end enterprise stores while still providing all the basic functions needed to enable your customers to view products and make purchases.

Larvela is currently in Beta release and is being used in production systems daily.

CONTACT INFO



Mobile:
Hours: ( )
E-Mail: gro.alevral@ofni

MAILING LIST