-
-
Notifications
You must be signed in to change notification settings - Fork 810
Deploy to Digital Ocean
DigitalOcean infrastructure is a leading cloud service provider based in the United States of America. Their headquarter operates from New York City, and their data centers are prevalent in every corner of the world in order to provide seamless cloud services across the globe.
App Platform
-
Click Create -> Apps
-
Choose Docker Hub as the source. repository path is "aahnik/tgcf". Click "Next".
-
A page will appear where you can edit your app resources. (Zoom and understand the image)
-
Set your environment variables.
-
Choose your location
-
Wait for the deployment to be done. Once done click on "Live App" and enjoy!
Ubuntu Droplet
If you want more control, you may run tgcf
on a VPS like DigitalOcean's ubuntu droplets.
Steps: Create a Droplet and SSH into it using Termius App or Open Console in Browser. Then in your terminal execute the following commands.
-
Update packages and reboot
sudo apt update && sudo apt upgrade -y reboot
-
Reconnect and install dependencies
sudo apt install python3-pip python3-venv
-
Follow the steps as shown in README to install and run tgcf.
-
Closing the console stops the running
tgcf-web
process. You can use a detached screen session to keep tgcf running in the background.# make sure you are inside your my-tgcf directory screen -S tgcfSession source .venv/bin/activate tgcf-web
Exit the screen session by Ctrl + a then press d. Now you can safely close the console to VPS.
Have a question? Ask in the discussion forum. But make sure to read the wiki first.