Skip to content

cenit-io/admin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cenit Admin

This is a React application for the administration of a Cenit Platform istance. The current state is developing. Fallow these instructions to configure a local instance of Cenit and connect it as a backend for the app.

Configuring the Backend

  1. Make sure the Cenit local repository is upto date with the remote. The develop branch of Cenit to support the Admin Backed is admin_backend.

  2. The admin_backend development branch includes features which are not yet sync with the develop and master branches (for example the support of buil-in apps). For this reason is strongly recommended to use a dedicated data base. To define a custom data base just include in the config/application.yml file an entry DB_DEV: custom_db_name.

  3. Configure the Cenit listening port. By default the Admin App runs listening to the port 3000 therefore the local instance of Cenit should runs listening to a different one. By default the App expect Cenit being listening to the port 3001, so launch Cenit listening the port 3001.

  4. Configure the Cenit HOMEPAGE URL. Make sure that Cenit HOMEPAGE URL is sync with the listening port by including in the config/application.yml file the entry HOMEPAGE: http://127.0.0.1:3001.

  5. Configure the default URI for the admin app. By default the Admin App runs listening to the port 3000. Include in the config/application.yml file the entry 'Cenit::Admin:default_uri': http://localhost:3000.

And that's all!

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

DO NOT DO THAT

About

Admin UI for Cenit IO

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages