script 썸네일형 리스트형 [Postman] Example of Pre-request Script When I was doing a project to make REST API Client, I had to make access token before request REST API.If the access token were expired, refreshing access token process was very bothersome process..When I using Postman to testing my REST API, I could make this authentication process to automatically with pre-request script.And easily access the authorization token with environment variables.. He.. 더보기 install NVM 기본적으로 아래 github 에서 확인 가능https://github.com/creationix/nvm install script ]$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash OR]$ wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash ]$ source ~/.bashrc install nodejs]$ nvm ls-remote ]$ nvm install [version]]$ nvm use [version] 더보기 .gitlab-ci.yml image: jsrjsr0040/centos-apm-sshvariables: STAGING_SERVER: 123.123.123.123 DEPLOY_SERVER: 123.123.123.123 STAGING_TAGS: 'staging-' DEPLOY_TAGS: 'real-' GITID: 'gitid' GITPASS: 'gitpath' stages: - build - test - deploy before_script: - echo "Before Script" - mkdir -p ~/.ssh - chmod 700 ~/.ssh - eval $(ssh-agent -s) - echo "$SSH_KEY"| ssh-add - - ssh-keyscan -p 9022 $STAGING_SERVER > ~/.ssh/known_.. 더보기 이전 1 2 3 다음