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

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Nihisil committed Nov 1, 2016
1 parent c4ec09c commit d9b2cce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ and run `bots_battle.py`.

We are building a viewer for local played games. It will allow to find places to improve bot's logic easily.

To be able to run it you need to run these commands in your host system (not inside a Vagrant):
To be able to run it you need to run these commands inside a Vagrant system (`vagrant ssh` to go into it):

1. `cd replays`
2. `python -m SimpleHTTPServer 8000`
3. Open http://localhost:8000/ in your browser
1. `cd ../replays`
2. `python -m http.server 8080`
3. Open [http://localhost:8080/](http://localhost:8080/) in your browser

# For developers

Expand Down
2 changes: 2 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/xenial64"

config.vm.network "forwarded_port", guest: 8080, host: 8080

# it is here for better performance
config.vm.network "private_network", type: "dhcp"
config.vm.synced_folder ".", "/vagrant", type: "nfs", mount_options: ["rw", "vers=3", "tcp", "fsc" ,"actimeo=2"]
Expand Down

0 comments on commit d9b2cce

Please sign in to comment.