Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
M
marketplace
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 0
    • Merge Requests 0
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

and though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here

  • Confidential and Proprietary
  • BlocPower
  • marketplace
  • Wiki
  • Deployment

Deployment · Changes

Page history
Updated Deployment (markdown) authored May 12, 2016 by Jose Daniel Contreras's avatar Jose Daniel Contreras
Hide whitespace changes
Inline Side-by-side
Showing with 2 additions and 2 deletions
+2 -2
  • Deployment.md Deployment.md +2 -2
  • No files found.
Deployment.md
View page @ af3942d2
...@@ -32,8 +32,8 @@ Command Line Tools Requirements: ...@@ -32,8 +32,8 @@ Command Line Tools Requirements:
mysql --host=$BUILD_RDS_HOST --user=$BUILD_RDS_USER --port=$BUILD_RDS_PORT --password=$BUILD_RDS_PASSWORD marketplace < proddump-{git-commit-hash}.sql mysql --host=$BUILD_RDS_HOST --user=$BUILD_RDS_USER --port=$BUILD_RDS_PORT --password=$BUILD_RDS_PASSWORD marketplace < proddump-{git-commit-hash}.sql
rm proddump-{git-commit-hash}.sql rm proddump-{git-commit-hash}.sql
cd $APPROOT cd $APPROOT
wp search-and-replace "http://blocpower.us" "http://staging.marketplace.blocpower.us" wp search-replace "http://blocpower.us" "http://staging.marketplace.blocpower.us"
wp search-and-replace "http://www.blocpower.us" "http://staging.marketplace.blocpower.us" wp search-replace "http://www.blocpower.us" "http://staging.marketplace.blocpower.us"
mysqldump --host=$RDS_HOSTNAME --port=$RDS_PORT --user=$RDS_USER --password=$RDS_PASSWORD --add-drop-table marketplace > stagingdump-{git-commit-hash}.sql mysqldump --host=$RDS_HOSTNAME --port=$RDS_PORT --user=$RDS_USER --password=$RDS_PASSWORD --add-drop-table marketplace > stagingdump-{git-commit-hash}.sql
mysql --host=$STAGING_RDS_HOST --user=$STAGING_RDS_USER --port=$STAGING_RDS_PORT --password=$STAGING_RDS_PASSWORD marketplace < stagingdump-{git-commit-hash}.sql mysql --host=$STAGING_RDS_HOST --user=$STAGING_RDS_USER --port=$STAGING_RDS_PORT --password=$STAGING_RDS_PASSWORD marketplace < stagingdump-{git-commit-hash}.sql
aws s3 mv stagingdump-{git-commit-hash}.sql s3://blocpower.us.builds/marketplace/sql/stagingdump-{git-commit-hash}.sql` aws s3 mv stagingdump-{git-commit-hash}.sql s3://blocpower.us.builds/marketplace/sql/stagingdump-{git-commit-hash}.sql`
......
Clone repository
  • Continuous Deployment and Continuous Integration
  • Custom Fields & User Editor Plugin Setup
  • Deployment
  • Home
  • Running Locally
  • Stack
  • Testing