Easy to deploy link shortener.
Table of Contents
To run the app just do:
PROJECT_ID="your-project-id" make run
where PROJECT_ID
is the id of Google Cloud project you want to use.
First authenticate using:
gcloud auth login
To deploy TnijTo on Google Cloud you have to enable Cloud Build and Cloud Run services:
make setup
then go to https://console.cloud.google.com/firestore and enable native Firestore mode.
Deploy the image using Cloud Build and deploy using Cloud Run:
PROJECT_ID="your-project-id" REGION="europe-west1" make deploy
where PROJECT_ID
is the id of Google Cloud project you want to use.
We welcome all contributions! Please submit an issue or PR no matter if it's a bug or a typo.
This project is using pre-commits to ensure the quality of the code. To install pre-commits just do:
pip install pre-commit
# or
brew install pre-commit
Then from project directory run pre-commit install
.