Skip to content

Setup Local Environment

Pierre Dulac edited this page Dec 19, 2022 · 6 revisions

Install the Google Cloud SDK

  1. Download the Cloud SDK for your platform
  2. Move it to your home directory
  3. Run the install script: $ ~/google-cloud-sdk/install.sh
  4. Add the sdk path to your .bashrc config file
    $ echo "" >> ~/.bashrc && cat <<EOF >> ~/.bashrc
    # gcloud command line
    export GOOGLE_CLOUD_SDK=$HOME/google-cloud-sdk
    EOF
  5. Reload the new definitions: $ source ~/.bashrc
  6. Initialize the SDK: $ gcloud init

Configure your local environment

Clone the repository

$ git clone https://github.com/google/crmint.git
$ cd crmint

Run CRMint locally

$ export GOOGLE_CLOUD_PROJECT='your-google-cloud-project-id'
$ docker-compose build
$ docker-compose up

Congrats, you are now able to access your local CRMint interface!