Skip to content

Vagrant virtual machine set up for developing, testing, and (possibly) deploying the ACPC poker GUI client and related gems.

License

Notifications You must be signed in to change notification settings

jmr/acpc_vagrant

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

acpc_vagrant

Vagrant virtual machine set up for developing, testing, and (possibly) deploying the ACPC poker GUI client and related gems.

Developing with forks of the original ACPC repositories

Edit the paths in grab_projects.sh to retrieve your fork of the ACPC repositories if desired.

Zero to Playing Poker

  1. Download this repository
  2. Install Ruby (>= 1.9.2)
    • On Windows, go to http://rubyinstaller.org/downloads/ and install:
      1. Ruby 2.1.6
        • Ensure that the "Add Ruby executables to your PATH" is selected during installation so you can run the gem and bundle later.
      2. The corresponding DevKit
  3. Install Bundler, gem install bundler
  4. Install gems, bundle install in project root)
  5. Install cookbooks, librarian-chef install
  6. Start the virtual machine, vagrant up
    • This step could take tens of minutes
    • If connecting to the VM times out, but you can still manually connect to it afterwards, then run vagrant halt and vagrant up or vagrant reload. This occurred for me on Windows and vagrant was able to complete the VM setup after restarting.
  7. Log in to the virtual machine, vagrant ssh on Linux or OSX, PuTTY on Windows
    • On Windows, you can try vagrant ssh first, but if that fails, follow these instructions. Afterwards, you should be apply to access the VM from PuTTY or vagrant ssh.
  8. Navigate to shared project directory, cd /vagrant/repositories/acpc_poker_gui_client
  9. Install gems, bundle install
  10. Compile the ACPC server project, bundle exec acpc_dealer compile
  11. Start background worker, bundle exec sidekiq -r ./ -L ./log/sidekiq.log -t 1 &
  12. Start the Rails server, bundle exec rails s
  13. Point your browser to localhost:3000, and you should see the match start screen. You should now be able to start a match. If that succeeds, congratulations, you've completed the set up!

About

Vagrant virtual machine set up for developing, testing, and (possibly) deploying the ACPC poker GUI client and related gems.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 95.4%
  • Ruby 4.6%