Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Clone repository to local and get appropriate branch (here gltg branch).

    1. Code Block
      titleClone
      git clone ssh://git@opensource.ncsa.illinois.edu:7999/geod/geodashboard-v3.git
      cd geodashboard-v3
      git checkout gltg


  2. Build gd3

    1. Code Block
      titleBuild
      yarn install
      yarn run build


  3. Copy to Nginx to Proxy Server

    1. With key

      1. get key file from nebula at: https://nebula.ncsa.illinois.edu/dashboard/project/access_and_security/keypairs/gltg/

      2. copy source directory to server


        Code Block
        languagebash
        titleCopy to Server
        scp -i ~/.ssh/gltg.pem -r build ubuntu@gltg-dev.ncsa.illinois.edu:/home/ubuntu


    2. With password

      Code Block
      titleCopy with Password
      scp -r build ubuntu@gltg-dev.ncsa.illinois.edu:/home/ubuntu


  4. Install gd3
    1. Find location (Here the nginx config is named 'gltg', use the config name in  /etc/nginx/sites-enabled/

      Code Block
      titleGet gd3 location
      more /etc/nginx/sites-enabled/gltg | grep root
      #output like this# root /usr/share/nginx/html/gd3;


    2. Backup working version

      Code Block
      titleBackup working gd3
      cp -r gd3 gd3_<date>


    3. replace index.html and bundle.js (if config.js needs updating, it needs to be replaced, too, make sure to copy all custom fields from previous config).

      Code Block
      titleUpdate gd3
      cd /usr/share/nginx/html/gd3
      rm bundle.js index.html
      cp /home/ubuntu/build/index.html .
      cp /home/ubuntu/build/bundle.js .


  5. Test

 


Content by Label
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@215333
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "GEOD"
labelskb-how-to-article

...