LISem is an ERP specialized for seeds producers and craftsmen. It uses many libraries from :
THIS PROJECT IS STILL UNUSABLE, IT'S A WORK IN PROGRESS
With SSH (if you have a GitHub account) :
$ git clone git@github.com:libre-informatique/LISemSymfonyProject.git
... or with HTTPS:
$ git clone https://github.com/libre-informatique/LISemSymfonyProject
Create a database. For example, if you are using PostgreSQL :
CREATE USER lisem_user WITH PASSWORD 'this-is-my-lisem-password';
CREATE DATABASE lisem;
GRANT ALL PRIVILEGES ON DATABASE lisem TO lisem_user;
\connect lisem;
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
Configure the LiSem application according to your database settings:
# app/config/parameters.yml
parameters:
database_host: 127.0.0.1
database_port: 5432
database_name: lisem
database_user: lisem_user
database_password: this-is-my-lisem-password
Create tables:
$ bin/console doctrine:schema:create
Make sure you have the latest version of composer installed, then :
$ cd LISemSymfonyProject
$ composer install
It will install part of the assets. See below to see how to install the remaining assets (Sylius assets)
$ bin/console lisem:install:setup --with-samples
You need node.js installed for this section.
$ bin/console sylius:theme:assets:install
$ npm install
$ npm run gulp
Launch your PHP server :
$ bin/console server:start
In your browser you should now be able to check these pages :
- Shop homepage: http://127.0.0.1:8000
- LISem administration: http://127.0.0.1:8000/admin
- Sylius administration: http://127.0.0.1:8000/sylius-admin
For the admin pages, the login / password is : lisem@lisem.eu / lisem
Add cache_dir
and logs_dir
parameters to your parameter.yml with the absolute path to the cache and log directories.
For example :
# app/config/parameters.yml
parameters:
cache_dir: /tmp
logs_dir: /tmp