Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bmlt-enabled/lettuce
Can lettuce merge one BMLT root into another.
https://github.com/bmlt-enabled/lettuce
Last synced: about 2 months ago
JSON representation
Can lettuce merge one BMLT root into another.
- Host: GitHub
- URL: https://github.com/bmlt-enabled/lettuce
- Owner: bmlt-enabled
- Created: 2018-03-24T06:09:45.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-15T21:40:01.000Z (over 2 years ago)
- Last Synced: 2024-04-14T15:55:04.415Z (8 months ago)
- Language: PHP
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-bmlt - lettuce - lettuce can merge one BMLT root server into another. (BMLT (Basic Meeting List Toolbox))
README
# lettuce
### Important Information
1. Think about your desired service body tree. If collapsing into a zone, make those changes ahead of time on the target.
2. Always take backups.
3. There might some additional actions to take of, look at the console messages.
4. If you have some custom fields, you will need to add them in the target database first before exporting the dump.
5. Once you are done with your exported merged results, open the .sql file and rename `na_` to something else. This will allow you to have side-by-side migration capabilities. You can then modify the `config.inc.php` file setting `$dbPrefix` and swap in the new prefix when you are ready. If you need to rollback you can then switch to the older one.____
### How to use Lettuce
1. To get this going, stand up the database docker container and sample BMLT server for testing by running:
`docker-compose up`
2. Take a mysql dump from your source and target mysql dbs.
3. Import the two dumps as two separate DBs on the docker container.
4. Take a snapshot of the container, in case you need to restart this.
`docker commit [container-id] [image:tag]`
5. Fill in the variables in `functions.php`.
6. Run `php bootstrap.php`, this will generate clean.php which will run each time you re-run `run.php`, in case you need to start over.
7. Run `php run.php`.