Skip to content

cmsrs/cmsrs3-vuejs

Repository files navigation


CMS, gallery, and shop based on Laravel and Vue.js




cmsrs3-vuejs

Prepare configuration

  1. Copy the example configuration file:

    cp ./src/config.js.example ./src/config.js
  2. Open ./src/config.js and modify the following directives to suit your needs:

    export const SERVER_URL = 'http://127.0.0.1:8000';
    
    // Must be the same as on the server side in the .env file
    export const API_SECRET = '';
    
    // Add an additional string to the admin area
    // If this directive === '', the URL will be /admin
    export const ADMIN_URL_SECRET = '';
    
    export const DEMO_STATUS = false;
    • SERVER_URL: The base URL of your server.
    • API_SECRET: Should match the API secret set in your server's .env file.
    • ADMIN_URL_SECRET: An additional string to secure the admin URL. If left empty, the admin URL will be /admin.
    • DEMO_STATUS: Set to true only if running in demo mode.

Install

npm install

Run tests

./test.sh all

or

npm test a

Start the development server

npm run dev

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Format code

npm run format

Server code

https://github.com/cmsrs/cmsrs3

Releases

No releases published

Packages

No packages published

Languages