Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
5b41d8bd
Commit
5b41d8bd
authored
Jul 24, 2012
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rewrite management docs using djangodocs
parent
8b432f6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
14 deletions
+12
-14
docs/management.rst
docs/management.rst
+12
-14
No files found.
docs/management.rst
View file @
5b41d8bd
...
...
@@ -3,33 +3,31 @@
Management commands
-------------------
.. program:: ./manage.py
The ./manage.py is extended with following commands:
..
optio
n:: checkgit
..
django-admi
n:: checkgit
Prints current state of backend git repository.
You can either define which subproject to check (eg. ``weblate/master``) or
use ``--all`` to check all existing subprojects.
..
optio
n:: commitgit
..
django-admi
n:: commitgit
Commits any possible pending changes to backend git repository.
You can either define which subproject to check (eg. ``weblate/master``) or
use ``--all`` to check all existing subprojects.
..
optio
n:: cleanuptrans
..
django-admi
n:: cleanuptrans
Cleanups orphnaed checks and translation suggestions.
..
optio
n:: createadmin
..
django-admi
n:: createadmin
Creates admin account with pasword admin.
..
optio
n:: import_project <project> <gitrepo> <branch> <filemask>
..
django-admi
n:: import_project <project> <gitrepo> <branch> <filemask>
Imports subprojects into project based on filemask.
...
...
@@ -49,26 +47,26 @@ The ./manage.py is extended with following commands:
./manage.py import_project debian-handbook git://anonscm.debian.org/debian-handbook/debian-handbook.git squeeze/master '*/**.po'
..
optio
n:: loadpo
..
django-admi
n:: loadpo
Reloads translations from disk (eg. in case you did some updates in Git
repository).
..
optio
n:: rebuild_index
..
django-admi
n:: rebuild_index
Rebuilds index for fulltext search. This might be lengthy operation if you
have huge set of translation units.
You can use ``--clean`` to remove all words from database prior updating.
..
optio
n:: update_index
..
django-admi
n:: update_index
Updates index for fulltext search when :envvar:`OFFLOAD_INDEXING` is enabled.
It is recommended to run this frequently (eg. every 5 minutes) to have index
uptodate.
..
optio
n:: setupgroups
..
django-admi
n:: setupgroups
Configures default groups and (if called with ``--move``) assigns all users
to default group.
...
...
@@ -78,7 +76,7 @@ The ./manage.py is extended with following commands:
.. seealso:: :ref:`privileges`
..
optio
n:: setuplang
..
django-admi
n:: setuplang
Setups list of languages (it has own list and all defined in
translate-toolkit).
...
...
@@ -86,7 +84,7 @@ The ./manage.py is extended with following commands:
The option ``--no-update`` disables update of existing languages (only add
new ones).
..
optio
n:: updatechecks
..
django-admi
n:: updatechecks
Updates all check for all units. This could be useful only on upgrades
which do major changes to checks.
...
...
@@ -94,7 +92,7 @@ The ./manage.py is extended with following commands:
You can either define which project or subproject to update (eg.
``weblate/master``) or use ``--all`` to update all existing subprojects.
..
optio
n:: updategit
..
django-admi
n:: updategit
Fetches remote Git repositories and updates internal cache.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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