Coder Social home page Coder Social logo

chz / cms-admin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from evmizulin/cms-admin

0.0 1.0 0.0 545 KB

Admin application server of Any JSON CMS

Home Page: https://anyjsoncms.com/

License: GNU General Public License v3.0

JavaScript 98.54% HTML 0.65% CSS 0.81%

cms-admin's Introduction

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 [email protected]: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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.