# Setup - Cloud Machine

Often, we will supply a cloud box for quick setup and development. This is a cloud9 browser-based IDE plus a full docker setup.. so it's very simlar to a local development environment and often much faster than your local (64GB RAM on SSD with 8 cores). Setup mostly follows the setup for a local version.

Be prepared to supply answers to questions, so a config can be created for you.

* Open your browser and navigate to the supplied url. When requested, enter the supplied username and password.
* On the Welcome page, click the settings and configure it how you like it (I like sublime mode, light, and go to user preferences and change the font size).
* Click the green button, and open a terminal. Check that your token is present by typing:`env | grep DEVELOPER_TOKEN`. If it's not, type `export DEVELOPER_TOKEN=`and insert your developer token.
* You will be in the`/workspace`folder, which is shared. Make a directory with your initials (mine are wf), and then change into that folder.
* Type`oauth_clone omalab/audienti`which will clone the development environment. Change into this directory.
* Type:`bi`to bundle install. Then, type`./cli.rb config`to answer your configuration questions. This will setup the rest of the configuration for you, and update the config\_variables. Close this terminal and open another one. Then, type`audi`and make sure it changes to your personal audienti folder.
* Type:`./cli.rb clone_repos`to clone the repos.
* Type:`./cli.rb clone_config`to clone the environment files.
* Type:`service docker start`to start the docker daemon. (This hopefully will go away soon).
* Type:`dctr backend bash`to ensure your system can build a docker image and create the environment.
* When you are in, then type ruby ./create\_database.rb and create oma\_test. Do the same thing to create oma\_dev.
* Type bundle exec rake db:schema:load to load the schema.
* Import development data if you need that.. then you're done, up and running.
