Git Product home page Git Product logo

pal-tracker-distributed's Introduction

pal-tracker-distributed

PIVOTAL Platform Acceleration Lab - Sessions.

Commonly used commands

====CLOUD FOUNDRY====
cf login -a api.run.pivotal.io
cf push
cf push -f manifest-registration.yml
cf marketplace
cf services
cf target -s review
cf create-service ${MYSQL_SERVICE_NAME} ${PLAN_NAME} tracker-database
cf target -s production
cf create-service ${MYSQL_SERVICE_NAME} ${PLAN_NAME} tracker-database
cf create-service p-service-registry standard tracker-service-registry
cf target -s review
cf bind-service pal-tracker tracker-database
cf target -s production
cf bind-service pal-tracker tracker-database
cf create-space review
cf create-space production
cf restart moviefun
cf bind-service moviefun movies-mysql
cf restage moviefun
cf apps
cf logout
cf create-service p-config-server standard movie-fun-config -c config-server.json
cf ssh -N -L 63306:192.168.16.98:3306 album-service-9
cf ssh -N -L 63306:192.168.16.98:3306 movie-service-9

====FLYWAY COMMANDS====
flyway -url="jdbc:mysql://localhost:3306/tracker_dev" -locations=filesystem:databases/tracker clean migrate
flyway -url="jdbc:mysql://localhost:3306/tracker_test" -locations=filesystem:databases/tracker clean migrate


===LINUX COMMANDS==
apt search PACKAGE
sudo apt install git
brew install cloudfoundry/tap/cf-cli
!4 (Runs the 4th command from history)
mkdir -p databases/{album,movie}-database/src/main/resources/db/migration


====GRADLE COMMANDS====
./gradlew build
mkdir -p  ~/workspace/use-gradle
cd ~/workspace/use-gradle
gradle wrapper
./gradlew tasks
touch build.gradle
./gradlew sayHello sayGoodbye
./gradlew sH sG
./gradlew clean build --dry-run
./gradlew clean build

====Concourse FLY Commands====
fly --target pal-concourse login --concourse-url ${CONCOURSE_URL} --team-name ${TEAM_NAME}
fly -t pal-concourse set-pipeline -p pal-tracker --load-vars-from ci/variables.yml -c ci/pipeline.yml
fly -t pal-concourse destroy-pipeline -p pal-tracker
fly -t pal-concourse unpause-pipeline -p pal-tracker
fly set-pipeline
fly validate-pipeline
fly format-pipeline
fly pipelines
fly rename-pipeline
fly pause-pipeline
fly unpause-pipeline
fly expose-pipeline
fly hide-pipeline
fly get-pipeline
fly destroy-pipeline

====GIT COMMANDS=====
git remote add origin2 https://github.com/{useridhere}/pal-tracker-distributed.git
git push origin2 --force

Weblinks:
Concourse: https://concourse-ci.org/
FlywayDB: https://flywaydb.org/
App Continnum: http://www.appcontinuum.io/

pal-tracker-distributed's People

Contributors

srirampvvm avatar kushalzone avatar tygern avatar

Watchers

James Cloos avatar  avatar

Forkers

srirampvvm

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.