2a: Setting up on our cloud your dev server
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, typeexport 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, typeaudi
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 oma 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.
Last updated