This is how I configured Gitpod for the week 4 workshop exercise.
GOT QUESTIONS from the Workshop? You're in the right place! Post a question here and we'll get you answers.
Hi, it took me many tries and searching the questions (thank you for your answers) - I now was able to connect to ui with python in gitpod. This is what I did.
In Gitpod using python:
cd week4-AppDev-api cd getting-started-with-astra-python pip install Flask flask-cors cassandra-driver python getting_started_with_astra.py
Make Public (A service is available on port 5000)
Open Brower -- Hello World, I am the Python API for Getting Started with Astra! We have no Swagger interface for this API (yet), but I am up and running!
copy the url
open new terminal
cd week4-AppDev-api cd getting-started-with-astra-ui echo 'BASE_ADDRESS=https://<your_port>-<your_id>.<your_region>.gitpod.io/api' > .env cat .env npm install npm start
Make Public (A service is available on port 3000)
the screen has a window: Connect to your Astra Database
KVUser / KVPassword / killrvideo
drag and drop: secure-connect-killrvideo.zip
click on: Test Connection
7 People are following this question.