Working with t.Site
You can deploy your website on AWS using t.Site, an application offered by Tibica. It allows you to choose from over 20 different templates and provides customization options to tailor your site to your needs. This guide aims to walk you through the process of creating and managing your website using t.Site.
Overview of t.Site
Watch a Short Demo video to get an overview of the main features of t.Site:
Managing Files
Tibica’s t.Site app provides two convenient methods for managing your website’s files:
- Built-in Editor: For direct editing, use the built-in editor accessible from the
EDIT
button under theFiles
tab. This feature allows you to view, upload, modify, or delete files with an intuitive editor interface. Remember to save your changes. - Local IDE/Code Editor: For those who prefer working in their local development environment, switch to the t.Git app in the sidebar, locate your site’s repository, and establish your credentials. Click on the small avatar in the top right corner and choose
Credentials
. You can either generate a username and password (note: save your password as it’s shown only once) or set up an SSH connection. This enables you to edit files in your preferred IDE or code editor and push updates when ready.
By following these steps, you can swiftly deploy and manage your Astro Site on AWS using Tibica, catering to both beginners and experienced developers alike.
Preview and Publish Your Website with t.Site
t.Site simplifies the process of managing and deploying your website by distinguishing between two key versions of your site: the Draft version for previews and the Public version for your live website.
Previewing Your Website: Draft Version
To preview changes before making them live, t.Site offers a Draft version. Here’s how to use it:
- Deploying a Draft: Right after creating your site, you’ll be prompted to deploy it. Click
DEPLOY
to view a Draft version. Whenever you make changes and hitSAVE
, t.Site automatically begins deploying these updates to your Draft version. Monitor the progress of these deployments in theHistory
tab. - Working with t.Git: If you’re editing your site’s files through your local IDE by managing the repository via t.Git, you’ll start a new Draft deployment by creating a pull request. Make this pull request from your feature branch or the
draft_cloud_site
branch to themain
branch. Keep this pull request open until you’re ready for the changes to go live.
To see how changes made in Edit mode apply to the Draft version of your website watch this demo:
Going Live: Publishing Your Public Version
When you’re ready to update your live site with the changes previewed in the Draft version:
- Publishing Your Site: Look for the
PUBLISH
button in the top right corner. This option becomes available once your changes are deployed to the Draft version. ClickingPUBLISH
applies these changes to your Public version. - Behind the Scenes: The
PUBLISH
action effectively merges and closes the last open pull request from thedraft_cloud_site
branch intomain
. If you prefer to manage this step manually via t.Git, simply merge the pull request from the Pull Requests tab.
This system ensures a smooth transition from testing and previewing your updates in a Draft version to confidently publishing them to your Public, live website.
If you have any questions about using t.Site, don’t forget to check out the t.Site FAQ page.