Coder Social home page Coder Social logo

whdalsrnt / console Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cloudforet-io/console

0.0 0.0 0.0 97.41 MB

Frontend Project for Open-source Multi & Hybrid Cloud Management Platform

License: Apache License 2.0

Shell 0.01% JavaScript 10.36% TypeScript 23.19% CSS 0.22% HTML 0.05% Vue 66.12% Dockerfile 0.03% Mustache 0.03%

console's Introduction

Cloudforet Console


ย 

The present repository contains the source code of the Cloudforet Web Console application and related packages such as Mirinae which is the design system of the web console.

Documentation

The documentation for the Cloudforet Console is located under the docs directory.

Getting Started

To run the Web Console, you need follow the steps below.

1. Configure the backend services

The Cloudforet Web Console needs backend services to run.
You can see the details in the Cloudforet Quick Install Guide.

2. Set up the configuration file

To run the Web Console, you need to set up the environment configuration file.

The configuration file is located in the apps/web/public/config directory.
The default configuration file is apps/web/public/config/default.json.

For your development environment, you can copy apps/web/public/config/development.sample.json to apps/web/public/config/<environment>.json and modify it.

  • for development environment: apps/web/public/config/development.json
  • for production environment: apps/web/public/config/production.json

The final configuration file will be generated by merging the default configuration file and the environment configuration file.

Config Description

Name Description Required
CONSOLE_API The endpoint of the Console API O
CONSOLE_API_V2 The endpoint of the Console API V2 O
GTAG_ID Google analytics Id X
GTM_ID Google tag manager Id X
DOMAIN_NAME Tenancy name X
DOMAIN_NAME_REF In case of hostname, it will extract the domain name from the url.
In case of config, it will take DOMAIN_NAME value at the config file.
X
ADMIN_DOMAIN Root domain name X
AMCHARTS_LICENSE License information of amcharts X
MOCK Mock Api information X
ASSET_PATH Asset endpoint information X
DOMAIN_IMAGE The url of the image used for the SignIn page and GNB X
DOCS Information for creating related document links.
- Array of objects with labels and links
- Support ejs template grammar
- Provided variable: lang (User language code. e.g. "en")
X
CONTACT_LINK Define the 'contact us' link on the SignIn page X
DASHBOARD_ENABLED Whether the dashboard service is open X

3. Add your chart license keys to your config file (Optional)

The Web Console internally uses amCharts(both 4 and 5 versions) for charts.
Before using the Console, look carefully at amCharts' license.
You can download and use all amCharts 4 and 5 products for free.
The only limitation of the free version is that a small amCharts logo will be displayed in the corner of your charts.
If youโ€™d rather have your charts without any branding, please purchase a commercial license and configure it to your config file with the following format:

{
 "AMCHARTS_LICENSE": {
  "ENABLED": true,
  "CHARTS": "",
  "MAPS": "",
  "TIMELINE": "",
  "AM5_CHARTS": "",
  "AM5_MAPS": ""
 }
}

Run

You can run the Web Console on your local with following commands.

npm install

npm run start:web

Testing

Set variables for e2e test

Add apps/web/playwright/local.env file into project root.

  USERNAME=testuser
  PASSWORD=password
  BASEURL=https://example.com/ 
  • BASEURL is an optional variable. Default is http://localhost:8080

๐Ÿงฉ Mirinae - Cloudforet Design System

You can see the details in the Mirinae storybook.
You can see the description of the Mirinae in the Mirinae package.

Contributing

TBU

๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘ง Author

See our OWNERS file.

ย 

๐Ÿ“ License

This project is Apache 2.0 licensed.

console's People

Contributors

wanzargen avatar yuda110 avatar wesky93 avatar semantic-release-bot avatar sulmoj avatar siyeons avatar piggggggggy avatar whdalsrnt avatar dsict avatar song2kim avatar dependabot[bot] avatar admin-spaceone avatar geunjelee avatar skdud4659 avatar admin-cloudforet avatar umi0410 avatar jbokyung2 avatar ku524 avatar h22y25n avatar ahndong2 avatar gikang82 avatar minseolee avatar github-actions[bot] avatar imimbora avatar aimeepark avatar donghoon-song avatar joon0615 avatar wonderwall-mz avatar

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.