-
-
Save ruthtillman/43e7ebc7445831405b90 to your computer and use it in GitHub Desktop.
Updating my _ebooks tweets including an old tweets.zip export. On Windows but w/Git Bash
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #as a note, I took out the first two lines of tweets.model after creating it from tweets.csv. This seems to allow the files to merge ok. | |
| cd C:/Users/RKT/Dropbox/bots | |
| cp ruthbrarian.json C:/ruthbrar_ebooks/corpus | |
| cd C:/ruthbrar_ebooks | |
| ebooks consume corpus/ruthbrarian.json | |
| cd model | |
| cat ruthbrarian.model tweets.model > ruthbrarebooks.model | |
| cp ruthbrarebooks.model ruthbrar_ebooks.model | |
| rm -f ruthbrarebooks.model | |
| cd .. | |
| git add model/ruthbrar_ebooks.model | |
| git commit -m "Running the regular update" | |
| git push heroku master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment