dde-dashboard

1.7.1-alpha.3 • Public • Published

Codeship Status for IMGGaming/dde-dashboard

DDE-DASHBOARD

REQUIREMENTS

npm install -g yarn

INSTALL

yarn

Run the application

npm run start

That will automatically open the application :

During the development

http://localhost:9001/debug.html#

Deploying the application

The CI is Codeship. There is already different pipelines created and related to the main different environments we have for the frontend of the DDE. Here is the basic pipeline configuration :

1. Custom script :

./scripts/deploy_test [AWS CODEDEPLOY APPLICATION NAME]

Where :

  • AWS CODEDEPLOY APPLICATION NAME : is the codedeploy application that we want to use for deploying the package

That script is about :

  • Building the static files of the project (js, css and index.html)
  • Testing the presence of those files into the project
  • Cleaning the folder before the package to be created
  • Creating a zip package ready to be sent on S3

2. S3 application :

Just setup a codeship s3 application which will send on s3 the previously created zip package. Use this configuration :

  • AWS Access Key ID: ****************OD6A
  • AWS Secret Access Key: ************************************j4kr
  • Region: eu-west-1
  • Local Path: ./
  • S3 Bucket: imggaming/ui-deployments/test
  • ACL: public-read

3. Custom script :

./scripts/codeship/generate_release_msg [AWS CODEDEPLOY APPLICATION NAME] [AWS CODEDEPLOY APPLICATION GROUP] $CI_COMMIT_ID https://dde-test.imggaming.com/ [ENV]

Where :

  • AWS CODEDEPLOY APPLICATION NAME : is the codedeploy application that we want to use for deploying the package
  • AWS CODEDEPLOY APPLICATION GROUP : is the codedeploy application group that we want to use for deploying the package
  • ENV can be "test" or "prod"

JS Architecture diagram

Readme

Keywords

none

Package Sidebar

Install

npm i dde-dashboard

Weekly Downloads

1

Version

1.7.1-alpha.3

License

none

Unpacked Size

6.78 MB

Total Files

212

Last publish

Collaborators

  • img-arena-bot