https://github.com/cmsrs/cmsrs3-vuejs
https://github.com/cmsrs/cmsrs3-vuejs
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cmsrs/cmsrs3-vuejs
- Owner: cmsrs
- Created: 2022-12-13T13:20:16.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-14T12:46:00.000Z (almost 2 years ago)
- Last Synced: 2024-04-14T16:25:56.472Z (almost 2 years ago)
- Language: JavaScript
- Size: 854 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

CMS, gallery, and shop based on Laravel and Vue.js
# cmsrs3-vuejs
### Prepare configuration
1. Copy the example configuration file:
```bash
cp ./src/config.js.example ./src/config.js
```
2. Open `./src/config.js` and modify the following directives to suit your needs:
```javascript
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