Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mattia Rizzolo
nm.debian.org
Commits
7261b120
Commit
7261b120
authored
Mar 20, 2012
by
Enrico Zini
Browse files
Updated GETTING-STARTED with the new export/import procedures
parent
66b56f02
Changes
1
Hide whitespace changes
Inline
Side-by-side
GETTING-STARTED
View file @
7261b120
...
...
@@ -6,19 +6,19 @@ apt-get install python-django python-ldap
# Configuration
ln -s settings.py.devel settings.py
edit settings.py
if
needed
edit settings.py
as
needed
# First setup
./manage.py syncdb
# Fill in data
On nono.debian.org:
cd /srv/nm.debian.org/_new
sudo -u nm ./export-old-db
Visit https://nm.debian.org/am/db-export to download nm-mock.json; for privacy,
sensitive information are replaced with mock strings.
Fetch the resulting dump
.json
./manage.py import nm-mock
.json
./manage.py import dump.json
If you are a Front Desk member or a DAM, you can use
https://nm.debian.org/am/db-export?full for a full database export.
# Run database maintenance
./manage.py maintenance
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment