|
| 1 | +--- |
| 2 | +title: "Shipping Your Project to Production with Taubyte" |
| 3 | +author: Zaoui Amine |
| 4 | +featured: true |
| 5 | +draft: false |
| 6 | +tags: |
| 7 | + - tutorials |
| 8 | + - deployment |
| 9 | + - production |
| 10 | + - cloud |
| 11 | +image: |
| 12 | + src: /blog/images/ship-to-production.png |
| 13 | + alt: Shipping Your Project to Production with Taubyte |
| 14 | +summary: You've built your project locally—now it's time to go live. Learn how to import your project into a production Taubyte cloud and trigger builds, whether you've been developing on main or a feature branch. |
| 15 | +date: 2026-01-14T21:00:00Z |
| 16 | +categories: [Hand-on Learning] |
| 17 | +--- |
| 18 | + |
| 19 | +When you're ready to deploy your Taubyte project to production, the process is straightforward. Whether you've been developing locally with Dream or directly on GitHub, you can ship your project to a production Taubyte cloud with just a few steps. |
| 20 | + |
| 21 | +The deployment process involves: |
| 22 | +1. Importing your project into your production cloud |
| 23 | +2. Triggering builds for your repositories |
| 24 | + |
| 25 | +That's it. Let's walk through it. |
| 26 | + |
| 27 | +## Importing Your Project |
| 28 | + |
| 29 | +You can import using either the **web console** or the **Tau CLI**. The web console is the easiest, so we'll use that here. |
| 30 | + |
| 31 | +### Step 1: Connect to Your Production Cloud |
| 32 | + |
| 33 | +If you're currently connected to Dream, **log out first**. |
| 34 | + |
| 35 | +Then: |
| 36 | +1. Navigate to [console.taubyte.com](https://console.taubyte.com) |
| 37 | +2. Select **Custom** from the network dropdown |
| 38 | +3. Enter your cloud's **FQDN** (e.g., `mycloud.example.com`) |
| 39 | +4. Click **Validate** |
| 40 | +5. Log in with GitHub as usual |
| 41 | + |
| 42 | +### Step 2: Import the Project |
| 43 | + |
| 44 | +On the projects page: |
| 45 | + |
| 46 | +1. Click **Import Project** |
| 47 | +2. Select the repository you want to import |
| 48 | + |
| 49 | +The web console will automatically identify eligible repositories. If you choose a **config repo**, it can even match the corresponding **code repo**. |
| 50 | + |
| 51 | +If you don't see what you need, you can enter repositories manually. |
| 52 | + |
| 53 | +### Step 3: Verify Import |
| 54 | + |
| 55 | +Once imported, you'll see your project in the dashboard with all its resources—functions, databases, websites, and more. |
| 56 | + |
| 57 | +## Triggering Builds |
| 58 | + |
| 59 | +Once imported, you need to trigger builds for each repository. |
| 60 | + |
| 61 | +### Scenario 1: Developed on Main Branch |
| 62 | + |
| 63 | +If you've built your project locally using the **main branch**, push your changes to each repository **in this order**: |
| 64 | + |
| 65 | +1. **Config repo** first |
| 66 | +2. **Code repo** second |
| 67 | +3. **All other repositories** (libraries, websites) last |
| 68 | + |
| 69 | +This order ensures that configuration is in place before code is built. |
| 70 | + |
| 71 | +### How to Push |
| 72 | + |
| 73 | +Simply push to GitHub: |
| 74 | + |
| 75 | +```bash |
| 76 | +# In your config repo |
| 77 | +git add . |
| 78 | +git commit -m "Deploy to production" |
| 79 | +git push origin main |
| 80 | + |
| 81 | +# In your code repo |
| 82 | +git add . |
| 83 | +git commit -m "Deploy to production" |
| 84 | +git push origin main |
| 85 | + |
| 86 | +# Repeat for other repos |
| 87 | +``` |
| 88 | + |
| 89 | +Each push triggers a build automatically via GitHub webhooks. |
| 90 | + |
| 91 | + |
| 92 | +## Conclusion |
| 93 | + |
| 94 | +You've learned how to: |
| 95 | + |
| 96 | +1. **Import** your project into production |
| 97 | +2. **Trigger builds** based on your development workflow |
| 98 | +3. **Verify** the deployment |
| 99 | +4. Set up **continuous deployment** |
| 100 | + |
| 101 | +With Taubyte, shipping to production is as simple as merging to main. Your cloud handles the rest—building, deploying, and scaling automatically. |
| 102 | + |
| 103 | +--- |
| 104 | + |
| 105 | +## 🎉 Congratulations! |
| 106 | + |
| 107 | +You've completed the Taubyte tutorial series! You now know how to: |
| 108 | + |
| 109 | +- ✅ Run a local cloud with Dream |
| 110 | +- ✅ Create projects |
| 111 | +- ✅ Build serverless functions |
| 112 | +- ✅ Organize code with libraries |
| 113 | +- ✅ Deploy websites |
| 114 | +- ✅ Use object storage |
| 115 | +- ✅ Work with databases |
| 116 | +- ✅ Implement real-time messaging |
| 117 | +- ✅ Organize with applications |
| 118 | +- ✅ Understand CI/CD |
| 119 | +- ✅ Work with branches |
| 120 | +- ✅ Ship to production |
| 121 | + |
| 122 | +For more advanced topics and detailed documentation, visit [tau.how](https://tau.how) and join our [Discord community](https://discord.gg/taubyte). |
| 123 | + |
| 124 | +**Happy building!** 🚀 |
| 125 | + |
0 commit comments