...
git clone https://github.com/apachegit-wip-us.apache.org/repos/asf/incubator-cloudstack.git![](/confluence/images/icons/linkext7.gif)
...
Password is assigned to DBROOTPW= in the build/replace.properties file.
E.g.
{{
$ cat build/override/replace.properties
DBUSER=cloud
DBPW=cloud
DBROOTPW=
MSLOG=vmops.log
APISERVERLOG=api.log
DBHOST=localhost
AGENTLOGDIR=logs
AGENTLOG=logs/agent.log
MSMNTDIR=/mnt
COMPONENTS-SPEC=components-premium.xml
}}
To pull in dependenciesclean out existing artifacts, go to the cloudstack source folder and run:
mvn -P depsclean
To compile Apache CloudStack, go to the cloudstack source folder and run:ant clean-all build-all
mvn install
To deploy Apache CloudStack, run:
ant deploy-server
Deploy the database next:
ant deploydb
To start the server
ant debug
and run in developer mode, please refer to Setup CloudStack development environment in 8 steps
Next, open the mgmt server console using http://localhost:8080 and configure it as required.
When you make changes to the code, and want to restart the mgmt. server, you should not recreate the mysql database, because that would wipe out the setup. So you make your code changes, and then do –
ant clean-all build-all deploy-server
and debug
ant debug