Code Monkey home page Code Monkey logo

Comments (1)

bistline avatar bistline commented on June 11, 2024

If you're looking just to use the portal, please visit https://portals.broadinstitute.org/single_cell and log in to create an account and begin browsing public studies or create your own. It is not necessary to run your own instance of the portal. More information on how to use the portal can be found here: https://github.com/broadinstitute/single_cell_portal/wiki

However, if you are trying to start your own private instance (even just running the unit tests), the Single Cell Portal is configured to use a service account that corresponds to the Google Compute Project that it is deployed in. The error message you're seeing is because you do not have the JSON credentials loaded into the application environment (passed with -k in bin/boot_docker). In order to get your own instance running, you will need to do the following:

  1. Create a Google Cloud Platform project
  2. Export the default service account credentials for that project to a JSON file

You will then be able to run the portal in test mode like you were trying earlier. If you want to stand up an instance elsewhere to actually use, there are 3 additional steps:

  1. Create a FireCloud Billing project (more info found here)
  2. Add your service account email as a project owner of the FireCloud project you just created
  3. Inside the portal codebase, edit app/models/fire_cloud_client.rb (line 17)

PORTAL_NAMESPACE = 'name of your FireCloud project'

You will then be able to run the portal using the service account credentials you exported earlier. You can run the portal locally via Docker, or deploy it inside a GCP VM and run it remotely. But it requires service account credentials either way.

from single_cell_portal_core.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.