Comments (1)
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:
- Create a Google Cloud Platform project
- 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:
- Create a FireCloud Billing project (more info found here)
- Add your service account email as a project owner of the FireCloud project you just created
- 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)
- Number of Cell with a specific gene expressed per cluster. How? HOT 1
- Getting error on building the Single Cell Portal image HOT 3
- Getting Rails Error: Unable to access log file on running bin/boot_docker HOT 12
- Enable admin account: getting "NoMethodError: undefined method `update' for nil:NilClass" HOT 9
- The container is up and running without delayed_job.3.log & delayed_job.4.log HOT 1
- Getting "Firecloud workspce assignment failed..." on creating the first study on our private instance.... HOT 3
- Getting error, Mongo::Error::NoServerAvailable: No server is available matching preference HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from single_cell_portal_core.