Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
noblogsmv
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ai
noblogsmv
Commits
d7bef3b3
Commit
d7bef3b3
authored
9 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
updated README with installation instructions
parent
1ecde3b7
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+40
-0
40 additions, 0 deletions
README.md
with
40 additions
and
0 deletions
README
→
README
.md
+
40
−
0
View file @
d7bef3b3
...
...
@@ -2,30 +2,39 @@
noblogsmv
=========
A
script that drives the transition between two
different backend maps
for the Noblogs databases. The process is meant
to be driven by a
single script (the
"
driver
"
), running on a single
host. This script
will save its state locally, so that it is easily
restartable in case
it is interrupted.
*noblogsmv*
is a
script that drives the transition between two
different backend maps
for the Noblogs databases. The process is meant
to be driven by a
single script (the
*
driver
*
), running on a single
host. This script
will save its state locally, so that it is easily
restartable in case
it is interrupted.
Usage
-----
## Installation
To install from source in a Python virtualenv:
$ virtualenv venv
$ ./venv/bin/pip install git+https://git.autistici.org/ai/noblogsmv.git#egg=noblogsmv
This will install all the required dependencies and it will put the
driver script in
`venv/bin/`
.
## Usage
When performing a backend migration, you need first to have the
two blog->backend maps ("old" and "new") in JSON format. You can
get them by running the 'noblogs' admin command with suitable
arguments.
Then, create a new, empty directory on the driver host:
:
Then, create a new, empty directory on the driver host:
$ mkdir /var/tmp/migration-01
$ cd /var/tmp/migration-01
And run the driver script:
:
And run the driver script:
$ sudo screen noblogsmv-driver \
--old-map=old.json \
--new-map=new.json
The web console will be available on http://localhost:3030/.
The web console will be available on
`
http://localhost:3030/
`
.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment