THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
git clone https://github.com/apache/asterixdb.git asterix
cd asterix/asterixdb/
git clone https://github.com/apache/asterixdb-bad.git asterix-opt
cd ..
mvn clean install -U -DskipTests
This will create the installer file in
asterixdb/asterix-installer/target/asterix-installer-0.9.1-SNAPSHOT-binary-assembly.zip
You can unzip this as your Asterix source and You can then follow the instructions here to setup a cluster: https://ci.apache.org/projects/asterixdb/ncservice.html
...