cmsRS Installation

Get the source code:

GitHub – cmsrs3 (Laravel) - Server

GitHub – cmsrs3-vuejs - Admin Panel

GitHub – cmsrs3-nuxt - Freontend nuxt

Install server - Laravel:

The installation follows the standard Laravel application setup process.

Download the source code:

git clone https://github.com/cmsrs/cmsrs3.git && cd cmsrs3

Install dependencies:

composer install

Prepare .env file, and change db connection:

cp .env.example .env

change db connection in .env file, for example:

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=cmsrs
DB_USERNAME=rs
DB_PASSWORD="secret102*"

Set up Laravel and JWT (generate the application key and JWT secrets):

php artisan key:generate && php artisan jwt:secret

Create database tables and seed initial data:

  • admin (email/login: adm@cmsrs.pl, pass: cmsrs123)
  • client (email/login: client@cmsrs.pl, pass: cmsrs456)

php artisan migrate && php artisan db:seed

(optionally) Set up permission:

./rs/go/go_privilege.sh

(optionally) Load demo data:

./rs/go/go_clear_and_load_demo.sh

Start server:

php artisan serve

Managment

  • Go to the website http://127.0.0.1:8000/admin/

    log in as:

    username: adm@cmsrs.pl

    password: cmsrs123

  • Create main page (page type: main_page)
  • Add menu
  • Add pages

Optionally - Admin Panel - vue.js

Download the source code:

git clone https://github.com/cmsrs/cmsrs3-vuejs.git && cd cmsrs3-vuejs

Copy the example configuration file:

cp ./src/config.js.example ./src/config.js

Open ./src/config.js and modify this file to suit your needs.

Install and start the Vue.js development server:

npm install && npm run dev

Optionally - Headless Frontend - nuxt

Download the source code:

git clone https://github.com/cmsrs/cmsrs3-nuxt.git && cd cmsrs3-nuxt

Copy the example configuration file:

cp .env.example .env

Open .env and modify this file to suit your needs.

Install and start the Nuxt development server:

npm install && npm run dev