A Vagrant VM for Furman Classics work, 2018
N.b. Vagrant is a Command-line application. When it installs, you will not see an icon for the application. This is normal.
cd ~/Desktop.git clone https://github.com/Eumaeus/fall2018vm.git.In a terminal (Terminal.app on MacOS, Git-Bash on Windows), after navigating into fall2018vm using cd:
cd ~/Desktop/fall2018vm to navigate into the VM directory.vagrant up starts the virtual machine. It will take a long time the first time. Do not close the Terminal or let your computer sleep until you are back to the Unix prompt.vagrant ssh connects your Terminal session to the virtual machine.cd /vagrant/ and then ls to see your working files. ]
logout to exit the VM.vagrant halt to shut down the VM.The contents of /vagrant/ in the VM are the same as the contents of fall2018vm on the host (your actual computer).
Link: A basic introduction to the Unix command line
cd ~/Desktop/fall2018vmmkdir lexdatacd lexdatacp ../ez-morph/data/forms-template.cex forms.cexcp ../ez-morph/data/lexicon-template.cex lexicon.cexvagrant upvagrant sshcd /vagrant/ez-morphgit pull (to see if there are any updates)sbt console:load tools.sc (note the colon!)betaCode() (to confirm that everything works)Data entry and validation cycle:
/vagrant/lexData/lexicon.cex./vagrant/lexData/forms.cex.validate() or refresh().Creating a Worksheet:
/vagrant/ez-morph/documents/:
cd /vagrant/ez-morph/documentstouch unit1.txtls.unit1.txt in Atom.refresh().analyzeFile("unit1")unit1.docx in /vagrant/ez-morph/documents/..../fall2018vm/lexdata/lexicon.cex; edit in a text-editor (e.g. Atom)forms.cex; edit in a text-editor (e.g. Atom)sbt console running:
:load validate.sc (note the colon)validate()When done…
:quit (exit SBT Console; note the colon)logout (exit the VM)vagrant halt (stop the VM)vagrant upvagrant sshcd /vagrantmkdir fywcd fywmkdir writingcd writing; mkdir outputcp ../../fyw-scala/makeDoc.sh .cd /vagrant/fys-scalagit pull (to see if there are any updates)Add Markdown files to the writing directory; you can edit them in Atom on your host machine. Name them with .md at the end.
To get into the programming environment:
cd /vagrant/fyw-scala (if you haven’t already).sbt console:quit (note the colon!)