Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/l-i-n-k-u-p/reactive-cms
A simple CMS more!
https://github.com/l-i-n-k-u-p/reactive-cms
cms docker docker-container fastify mongodb mongoosejs nodejs nodejs-cms pm2 socket-io tiptap vue-mc vue-router vuejs
Last synced: about 1 month ago
JSON representation
A simple CMS more!
- Host: GitHub
- URL: https://github.com/l-i-n-k-u-p/reactive-cms
- Owner: l-i-n-k-u-p
- License: mit
- Created: 2018-12-13T02:44:46.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2023-03-02T15:11:16.000Z (over 1 year ago)
- Last Synced: 2024-09-28T20:41:34.445Z (about 2 months ago)
- Topics: cms, docker, docker-container, fastify, mongodb, mongoosejs, nodejs, nodejs-cms, pm2, socket-io, tiptap, vue-mc, vue-router, vuejs
- Language: Vue
- Homepage: https://reactive-web.github.io/reactive-cms/
- Size: 7.33 MB
- Stars: 6
- Watchers: 4
- Forks: 0
- Open Issues: 34
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A simple CMS more to start your project!
Technologies and Design
-
- Docker
- NodeJS
- MongoDB
- FastifyJS
- MongooseJS
- VueJS
- Vue-MC
- Vue-Router
- Tiptap
- SocketIO
- PM2
- Material DesignRequeriments
-
- Linux
- Docker
- Nginx latest (if you don't use Docker)
- NodeJS > v10.16.0 (if you don't use Docker)
- MongoDB latest (if you don't use Docker)Initial Configuration
-
- Edit config/config.js file with your preferences
```javascript
const APP_CONFIG = {
port: 3000,
mongoDBURI: 'mongodb://192.168.1.8:27017/reactivecms',
bcryptSaltRounds: 12,
appSecret: 'iCD5e@rx$3-9rR_QZwIW2Dg-Zn^h&heS', // 32 characters
staticUploadPath: 'site-static',
staticUploadPrefix: 'public', // use '/public/' instead of '/site-static/'
uploadDirectory: 'site-static/uploads/',
staticFilesPath: 'static',
staticFilesPrefix: 'website',
sessionMaxAge: 1000 * 60 * 60 * 24 * 3, // 3 days
ipAddressToListen: '0.0.0.0', // 0.0.0.0 for docker container
domain: 'localhost', // localhost \ domain.com
fastifyOptions: {
http2: false,
https: null,
ignoreTrailingSlash: true,
logger: false,
},
socketIOOptions: {
socketIOpingTimeout: 60000,
pingInterval: 10000,
pingTimeout: 5000,
},
emailOptions: {
emailService: 'gmail',
emailAccount: '',
emailAccountPassword: '',
},
}
```Install and running app using Docker
-
```bash
cd reactive-cms;
sh rcms.sh -h; # you can see all commands for use app with Docker
sh rcms.sh --deployment; # this command download and create images
sh rcms.sh --start-development; # this command create docker containers and run all services
```
When you use --start-development or --start-production mode, all services are running in each container
and you can see the logs using:
```bash
docker logs -f --tail 100
```Install and running app without Docker
-
```bash
cd reactive-cms;
npm install;
npm run start; # compile dashboard and run server in production mode
npm run server-production; # only run server in production mode
npm run server-development; # run server in development mode and watch for file changes
npm run server-monit; # show all server logs with PM2
npm run server-logs; # show all server logs
npm run server-stop; # stop all server instances
npm run dashboard-development; # compile dashboard in development mode and watch for file changes
npm run dashboard-production; # compile dashboard in production mode
```Test
-
If you don't edit nothing about default ports from config.jsNow enter to: localhost:3000 and fill the setup form.
To do:
-
- Create global environment config for all containers
- Prepare all containers for use docker stack deploy
- Create complete documentation page## Email:
[email protected]
Development by:
linkup