pivanov / cms-admin

Admin application server of Any JSON CMS

Home Page:https://anyjsoncms.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Any JSON CMS - Admin application server

If you want to read general information about Any JSON CMS go here.

Any JSON CMS consists of two parts. Admin application server and API server. It is Admin application server.

Installation

Step 1. Install the required dependencies.

Step 2. Install the Admin application server.

git clone git@github.com:evmizulin/cms-admin.git
cd cms-admin
npm install

Step 3. Update configuration file.

In project root folder there are configuration file config.js. Update it for your needs.

module.exports = {
  config: {
    isDemo: true,
    prodAppServerHost: 'localhost',
    prodAppServerPort: 8081,
    devApiProtocol: 'http',
    prodApiProtocol: 'https',
    devApiHost: 'localhost:8080',
    prodApiHost: 'api.anyjsoncms.com',
  },
}

All parameters that have dev and prod prefixes, will be used for development and production environments respectively.

  • isDemo - there are several messages on the landing page of anyjsoncms.com informing that anyjsoncms.com is a demo server, set flag to false and it will hide messages;
  • prodAppServerHost - this parameter will be passed as host to run Node.js server;
  • prodAppServerPort - this parameter will be passed as port to run Node.js server;
  • apiProtocol - protocol of API server;
  • apiHost - host of API server;

Step 4. Run Admin application server.

To run Admin application server in development environment:

npm start

And open http://localhost:3000 in your browser.

To run Admin application server in production environment:

npm run build && npm run start.prod

You could see the logs in /logs folder.

About

Admin application server of Any JSON CMS

https://anyjsoncms.com/

License:GNU General Public License v3.0


Languages

Language:JavaScript 98.5%Language:CSS 0.8%Language:HTML 0.6%