Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Commit

Permalink
first pass proctor readme
Browse files Browse the repository at this point in the history
  • Loading branch information
junkin committed May 4, 2015
1 parent 84631f5 commit 36b399a
Showing 1 changed file with 37 additions and 1 deletion.
38 changes: 37 additions & 1 deletion proctor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,40 @@ run the following command:

sjunkin-mbp:proctor sjunkin$ vagrant up

This will load the three vm's for the proctor end of the lab.
This will load the three vm's for the proctor end of the lab.

2. NDO Public server
.
For reggie setup:-

On your hosting systems, inside the proctor directroy:

sjunkin-mbp:proctor sjunkin$ pwd
/Users/sjunkin/sandbox/JNPRAutomateDemo-Student/proctor

vagrant ssh ndo_public
cd /vagrant/proctor/ansible

run

ansible-playbook -i inventory.yml ./playbooks/deploy_reggie.yml

It may present an error, if so try to re-run the command.

once that finishes:

cd /reggie
python app.py db upgrade
python app.py db migrate


***** After students register on the reggie site ****
As the proctor you can go to the reggie admin site and see a list of all the students who have registered via this url : http://10.10.0.10/admin with user:pass [admin:not_verybig_secret]

cd /vagrant/proctor/tools
vagrant@NetDevOps-Public:/vagrant/proctor/tools$ python vpn_he_mgr.py --url=http://10.10.0.10/student

The above command will pull all of the registered students out of the reggie database and recreate and update the playbook on the server side with the new data, then execute the playbook


TODO- how to validate the above was successful?

0 comments on commit 36b399a

Please sign in to comment.