Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cmsrs/cmsrs3-vuejs


https://github.com/cmsrs/cmsrs3-vuejs

Last synced: 11 days ago
JSON representation

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