Skip to content

Commit

Permalink
(docs) logo
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Alexandre35 committed Nov 3, 2024
1 parent d5e80ad commit 4a27334
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Travian Clone - Browser Game

<p align="center">
<img src="docs/img/vallorium_logo_transparant.png" alt="Vallorium Logo" width="300"/>
</p>

I had this project in my mind since a long time. I've always been a huge fan of the popular browser game called Travian. Travian is a browser based MMOG where you compete with thousands of other players by buuilding up your village, building, ressources, fields, troops in order to have the largest global population accross the server.

The goal of the project is to have exactly the same logic as the original, but with some UI enhancements, as well as being cross-platform.
Expand Down Expand Up @@ -54,3 +58,50 @@ Backend
- Artifact Registry: This will store your Docker image, making it accessible for Cloud Run deployment.
- Cloud Run: This service will host your Dockerized Python backend.
- Cloud Build Permissions: Enable Cloud Build to deploy images from Artifact Registry to Cloud Run.

gcloud iam service-accounts keys create ~/YOUR_SA_KEY.json \
--iam-account="${SERVICE_ACCOUNT_EMAIL}"

GITHUB_ACTIONS_SA_EMAIL="github-actions-sa@YOUR_PROJECT_ID.iam.gserviceaccount.com"

# Replace `YOUR_PROJECT_ID` with your actual project ID

PROJECT_ID="travian-3919"

# Grant Owner role for complete access (or assign specific roles as needed)

gcloud projects add-iam-policy-binding $PROJECT_ID \
--member="serviceAccount:${GITHUB_ACTIONS_SA_EMAIL}" \
--role="roles/owner"

# Additional roles can be added individually if you prefer more granular permissions:

# For Cloud Run admin:

gcloud projects add-iam-policy-binding $PROJECT_ID \
--member="serviceAccount:${GITHUB_ACTIONS_SA_EMAIL}" \
--role="roles/run.admin"

# For Artifact Registry access:

gcloud projects add-iam-policy-binding $PROJECT_ID \
--member="serviceAccount:${GITHUB_ACTIONS_SA_EMAIL}" \
--role="roles/artifactregistry.writer"

# For Storage access:

gcloud projects add-iam-policy-binding $PROJECT_ID \
--member="serviceAccount:${GITHUB_ACTIONS_SA_EMAIL}" \
--role="roles/storage.admin"

# for billing

gcloud beta billing accounts add-iam-policy-binding BILLING_ACCOUNT_ID \
--member="serviceAccount:GITHUB_ACTIONS_SA_EMAIL" \
--role="roles/billing.user"

gcloud beta billing accounts add-iam-policy-binding 017990-8215A3-BC71A3 \
--member="serviceAccount:github-actions-sa@travian-3919.iam.gserviceaccount.com" \
--role="roles/billing.user"

gcloud services enable cloudresourcemanager.googleapis.com --project=471713920051
Binary file added docs/img/Screenshot 2024-11-03 at 21.54.58.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/img/vallorium_logo_transparant.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4a27334

Please sign in to comment.