diff --git a/.gitignore b/.gitignore index 615c2e240..a3830700f 100644 --- a/.gitignore +++ b/.gitignore @@ -19,4 +19,5 @@ airtime_mvc/tests/log/*.log /docs/_site/* /docs/.jekyll-cache/* /docs/.gems/* -Gemfile.lock \ No newline at end of file +Gemfile.lock +api.log diff --git a/Vagrantfile b/Vagrantfile index 2d1ebd721..c24204d74 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -10,6 +10,10 @@ Vagrant.configure("2") do |config| # liquidsoap input harbors for instreaming (ie. /master) config.vm.network "forwarded_port", guest: 8001, host:8001 config.vm.network "forwarded_port", guest: 8002, host:8002 + # database + config.vm.network "forwarded_port", guest: 5432, host:5432 + # api + config.vm.network "forwarded_port", guest: 8081, host:8081 # make sure we are using nfs (doesn't work out of the box with debian) nfsPath = "." diff --git a/airtime_mvc/application/configs/config-check.php b/airtime_mvc/application/configs/config-check.php index 6a99a2acd..59d9dfc11 100644 --- a/airtime_mvc/application/configs/config-check.php +++ b/airtime_mvc/application/configs/config-check.php @@ -18,6 +18,7 @@ $pypo = $externalServices["pypo"]; $liquidsoap = $externalServices["liquidsoap"]; $analyzer = $externalServices["analyzer"]; $celery = $externalServices['celery']; +$api = $externalServices['api']; $r1 = array_reduce($phpDependencies, "booleanReduce", true); $r2 = array_reduce($externalServices, "booleanReduce", true); @@ -29,14 +30,14 @@ $result = $r1 && $r2;