Skip to content

Conversation

thngkaiyuan
Copy link

Migration Steps

  1. Merge this PR and update code on production server to version 2 code
  2. Add the line external_libraries_v2: /opt/codebender/codebender-external-library-files-v2 to Symfony/app/config/parameters.yml
  3. Update composer
  4. In Symfony directory, run app/console doctrine:migrations:migrate
  5. Clear cache

Cleaning Up

  1. Remove the line external_libraries: /opt/codebender/codebender-external-library-files from Symfony/app/config/parameters.yml
  2. Clean up old library files: rm -rf /opt/codebender/codebender-external-library-files /opt/codebender/codebender-arduino-library-files/libraries

Post-Migration

  1. Merge PR Remove old entities, fixtures and tables after migration #77 and update code on production server to remove the old entities and fixtures
  2. Run app/console doctrine:migrations:migrate to drop the old tables

bsmmoon and others added 23 commits April 6, 2016 11:46
Conflicts:
	Symfony/src/Codebender/LibraryBundle/Handler/ApiCommand/ListApiCommand.php
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 02a47b3 on v2-merged-2 into * on master*.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 27e442f on v2-merged-2 into * on master*.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants