]> code.communitydata.science - taguette_google_sheet_integration.git/blobdiff - README.md
added support for merging and deleting tags
[taguette_google_sheet_integration.git] / README.md
index 4974249d7b388b6fbd33eda17ecd2952d587ba0a..0627be07c9cfcc357256820ee40d4a234768f520 100644 (file)
--- a/README.md
+++ b/README.md
@@ -10,10 +10,11 @@ In order to not commit your changes into git, you can run this command:
 git update-index --assume-unchanged .taguette_gdocs
 ```
 
-I also create a directory called `taguette_backups` like:
+I also create a directory called `taguette_backups` and one called `exported_tags` like:
 
 ```
-mkdir db_backups
+mkdir taguette_backups
+mkdir exported_tags
 ```
 
 ## Step 1: Backing things up
@@ -28,7 +29,7 @@ cp "taguette_backups/$BACKUP_FILE" ./taguette-working.sqlite3
 ```
 
 The first line shuts down Taguette. The second line just creates the backup
-file name. The third and fourt lines will create a new backup file and copy the
+file name. The third and fourth lines will create a new backup file and copy the
 backup file into the `./taguette-working.sqlite3`.
 
 ### Step 2a: Import from Google Sheets into the database
@@ -44,6 +45,7 @@ like:
 
 ```
 sudo cp ./taguette-working.sqlite3 /var/lib/taguette/taguette.sqlite3
+sudo chown taguette:taguette /var/lib/taguette/taguette.sqlite3
 ```
 
 ### Step 2b: Exporting from the database
@@ -51,7 +53,7 @@ sudo cp ./taguette-working.sqlite3 /var/lib/taguette/taguette.sqlite3
 Exporting tags should be as easy as:
 
 ```
-python3 taguette-export_tags_to_csv.py > exported_tags.tsv
+python3 taguette-export_tags_to_csv.py
 ```
 
 This will create a new file called `exported_tags.tsv` which you can manually

Community Data Science Collective || Want to submit a patch?