EngineeringWiki
  • Introduction
  • Top level Overview of the application
  • FAQs
  • Back End
    • Agent Pipeline
    • Mention Pipeline
    • Profile Pipeline
    • Errors
    • Overview of the Mention/Profile/Cluster Process
    • Adding a New Service
    • Activity and Status Tracking
  • Setup
    • Overview
    • How to Setup Your Local Machine
    • Setup - Cloud Machine
    • Infrastructure
    • Docker
    • Bash Commands
    • Setting up front end in Ubuntu 16.04 desktop
  • Gems/Libraries
    • Bax
    • Creating fixtures for Unit Tests
    • Audienti-Retriever
    • Scour
    • Haystack
    • Audienti-Indexer
    • Audienti-Api
    • Handler
    • Blackbook
    • Allusion
  • Code
    • Multi-step Modal Wizard
    • Structure
    • Audienti DataTables
    • Javascript
      • Passing Props From Root
      • Looping in JS
      • Binding Actions to App
      • CSSTransitionGroup
      • Code Best Practices
      • Reducer Updating an Array with Item in Middle
      • Organizing Javascript
      • Filter Array by Id
    • Design Language
  • Working
    • PostgresSQL
    • S3
    • Terminology
    • Interview Tests
    • Application Descriptions
    • Best Practices
      • Code Organization
      • Code Documentation (using Yard)
      • Git Workflow
      • Tasks and Queues
      • Working in Backend
    • Profiles & Enrichment
      • Profile ID Rules
  • Management
    • API Management
    • Bastion
    • Splash Proxy
    • Rancher
      • OpenVPN Server
      • Traefik Reverse Proxy
  • Teams & Interviews
    • Interview Questions
  • Culture
    • What Makes a World Class Engineer
  • Situational Statuses
    • 2017-11-03
    • 2018-01-09
  • Operations
Powered by GitBook
On this page
  1. Setup

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/workspacefolder, which is shared. Make a directory with your initials (mine are wf), and then change into that folder.

  • Typeoauth_clone omalab/audientiwhich will clone the development environment. Change into this directory.

  • Type:bito bundle install. Then, type./cli.rb configto 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, typeaudiand make sure it changes to your personal audienti folder.

  • Type:./cli.rb clone_reposto clone the repos.

  • Type:./cli.rb clone_configto clone the environment files.

  • Type:service docker startto start the docker daemon. (This hopefully will go away soon).

  • Type:dctr backend bashto 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.

PreviousHow to Setup Your Local MachineNextInfrastructure

Last updated 7 years ago