Skip to content
Andreas Christodoulou edited this page Jun 22, 2014 · 8 revisions

Installation

{{ For Windows Users }}

Clone Repository

git clone --recursive https://github.com/andreas22/shared-settings.git

*recursive option is required to download any submodules that exists

cd shared-settings

Update your database connections either to sqlite or mysql, default 'sqlite'

vim app/config/database.php

Run installation file from command line, you will be asked twice if you want to install database, press 'y' to proceed.

install.bat

Enable mod_rewrite.so in httpd.conf, if is disabled you will have to pass public/index.php/admin/login in order to work

{{ For Linux Users }}

Clone Repository

git clone --recursive https://github.com/andreas22/shared-settings.git

*recursive option is required to download any submodules that exists

Enter shared-settings directory

cd shared-settings

Update your database connections either to sqlite or mysql, default 'sqlite'

vim app/config/database.php

Run installation file from bash, you will be asked twice if you want to install database, press 'y' to proceed.

./install.sh

Change permissions for directories

find shared-settings/ -type d -print0 | xargs -0 chmod 0755

Change permissions for files

find shared-settings/ -type f -print0 | xargs -0 chmod 0644

Change permissions for storage files

find shared-settings/app/storage/ -type d -print0 | xargs -0 chmod 0775

Enable mod_rewrite.so in httpd.conf, if is disabled you will have to pass public/index.php/admin/login in order to work

{{ Optional }}

If you are going to use Sqlite

PDO SQLite driver requires that if you are going to do a write operation (INSERT,UPDATE,DELETE,DROP, etc), then the folder the database resides in must have write permissions, as well as the actual database file.

chmod 775 app/database/

chmod 775 app/database/production.sqlite

If you have permission issues after assigning all the correct permissions then try disabling selinux.

Disabling Selinux

vi /etc/selinux/config

SELINUX=disabled

and restart computer

{{ Whats next? }}

Client login page (after logging in will redirect you to the home page) [

username:[email protected] password:password ]

http://url_of_your_application/login

Admin login page (after logging in will redirect you to the admin panel) [

username:[email protected] password:password ]

http://url_of_your_application/admin/login

New user signup form (to register a new user)

http://url_of_your_application/user/signup

Logout page

http://url_of_your_application/user/logout

{{ Composer: Modules }}

Authentication: https://github.com/intrip/laravel-authentication-acl/blob/master/docs/index.md

{{ Git: Submodules }}

JsonEditor: http://www.jsoneditoronline.org/

Clone this wiki locally