Cytat(nospor @ 1.03.2017, 10:59:24 )
Ja sie nie pytam gdzie jest kod. Ja sie pytam gdzie go odpalasz. To dwie rozne rzeczy. Kod moze byc wewnatrz katalogu, ktory jest synchronizowany z vagrant, ale ty nadal mozesz go odpalac ze swojego hosta.
Wiec ja sie pytam ponownie: jak odpalasz ten kod? Wewnatrz vagrant czy bezposrednio ze swojego hosta?
Ze swojego hosta który jest zsynchronizowany z vagrantem.
Cytat(Pyton_000 @ 2.03.2017, 07:38:37 )
Wg. tego co pisze autor to z hosta.
Pokaż lepiej skąd masz box do vagrana, a jeśli sam go robiłes to pokaż vagrant file
kod vagranta:
CODE
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
#
https://docs.vagrantup.com.
# Every Vagrant development environment requires a box. You can search for
# boxes at
https://atlas.hashicorp.com/search.
config.vm.box = "ubuntu/trusty64"
config.vm.network "private_network", ip: "192.168.33.11"
config.vm.synced_folder "./public", "/var/www/html", :mount_options => ["dmode=777", "fmode=777"]
end