This gist explains about how to run locally on Mac OsX Mesos and Marathon.
brew install wget git autoconf automake libtool subversion maven xz
- And install xcode via apple
app store
brew cask install java8
-
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home export PATH=$JAVA_HOME/bin:$PATH```
brew install zookeeper
zkServer start
git clone https://github.com/mesosphere/marathon.git
cd marathon
tools/mvm.sh 1.6.1
nohup mesos-master --work_dir=/tmp/mesos/work --zk=zk://localhost:2181/mesos --quorum=1 --domain='{"fault_domain": {"region": {"name": "local"}, "zone": {"name": "a"}}}' > master.log --ip=127.0.0.1 &
nohup mesos-agent --ip=127.0.0.1 --work_dir=/tmp/mesos/work --master=zk://localhost:2181/mesos --domain='{"fault_domain": {"region": {"name": "local"}, "zone": {"name": "a"}}}' --containerizers=mesos > agent.log &
export MARATHON_MASTER=zk://127.0.0.1:2181/mesos
sbt run