CMS, gallery, and shop based on Laravel and Vue.js
-
Copy the example configuration file:
cp ./src/config.js.example ./src/config.js
-
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 totrue
only if running in demo mode.
npm install
./test.sh all
or
npm test a
npm run dev
npm run serve
npm run build
npm run lint
npm run format