Miyamura80 GCP_Terraform_Deployment .cursorrules file for TypeScript


## Python package management tool: Rye

This project uses rye for python dependency management instead of pip. To check dependencies, check `pyproject.toml` not `requirements.txt`. Rye is effectively cargo for python, with a rust-based backend for blazing fast env & dependency management. 

Don't use `pip install`, always use `rye sync`. Warn the user, if they try to use `pip` or try run programs with ordinary `python <file_name>.py`, and instead encourage them to run it using `rye run python <file_name>.py` after synchronizing with `rye sync`.

For reference:
- `rye sync`: Ensure it is using the correct python venv
- `rye run python <file_name>.py`: Run the python file using the python env defined by `pyproject.toml`
- `rye run python -m tests.path_to.test_module` to run a specific test in isolation without running all other tests

## GCP Debugging

To view logs at a service:

```bash
gcloud run services logs read <SERVICE_NAME> --region <REGION>
```
dockerfile
golang
google-cloud
javascript
makefile
python
rust
typescript

First Time Repository

☁️ TF Config for Deploying Websites to GCP

TypeScript

Languages:

Dockerfile: 0.7KB
JavaScript: 6.5KB
Makefile: 4.2KB
Python: 1.0KB
TypeScript: 7.1KB
Created: 10/7/2024
Updated: 10/7/2024

All Repositories (1)

☁️ TF Config for Deploying Websites to GCP