Browse Source

Add install and upgrade documentation

oz123 10 năm trước cách đây
mục cha
commit
4832cea00c
2 tập tin đã thay đổi với 35 bổ sung1 xóa
  1. 1 1
      docs/source/index.rst
  2. 34 0
      docs/source/install.rst

+ 1 - 1
docs/source/index.rst

@@ -11,7 +11,7 @@ Contents:
 .. toctree::
    :maxdepth: 2
     
-   installing
+   install
    tutorial
 
 

+ 34 - 0
docs/source/install.rst

@@ -0,0 +1,34 @@
+installing and upgrading:
+========================= 
+
+You can install pwman3 simply by unpacking the archive and running:
+
+   $ pip install .
+
+Inside the extraced directory. At the moment pypi still does not have 
+the latest version of pwman3.
+
+Upgrading from version 0.5.x
+----------------------------
+
+If you used the 0.5.x Tversion of ``pwman3`` your database is not compatible
+with the new 0.6.x version of ``pwman3``. You need to export your database
+to a CSV from version 0.5.3 with::
+
+    pwman> export 
+
+See ``help export`` when running pwman3 in version 0.5.3. 
+Once exported you should rename your old database, to keep a backup of it.
+Then you can install pwman3 in version 0.6.x as described above. When finished
+you can import your passwords from the CSV to a new database with::
+
+    $ pwman3 -i path_to_your_file.csv
+
+When the import is done, start pwman3 with::
+    
+    $ pwman3 
+
+If the import was success, erase the CSV file, which contains your passwords 
+in clear text.
+
+