examples/t3
2024-07-13 00:09:36 -06:00
..
drizzle feat: add start command 2024-07-12 23:58:05 -06:00
public feat(t3): add t3 example 2024-07-12 23:52:29 -06:00
src refactor: add posts 2024-07-13 00:04:19 -06:00
.env.example feat(t3): add t3 example 2024-07-12 23:52:29 -06:00
.eslintrc.cjs feat(t3): add t3 example 2024-07-12 23:52:29 -06:00
.gitignore feat(t3): add t3 example 2024-07-12 23:52:29 -06:00
drizzle.config.ts feat(t3): add t3 example 2024-07-12 23:52:29 -06:00
next.config.js feat(t3): add t3 example 2024-07-12 23:52:29 -06:00
package.json feat: add start command 2024-07-12 23:58:05 -06:00
pnpm-lock.yaml feat(t3): add t3 example 2024-07-12 23:52:29 -06:00
postcss.config.cjs feat(t3): add t3 example 2024-07-12 23:52:29 -06:00
prettier.config.js feat(t3): add t3 example 2024-07-12 23:52:29 -06:00
README.md refactor: add steps for t3 app 2024-07-13 00:09:36 -06:00
start-database.sh feat(t3): add t3 example 2024-07-12 23:52:29 -06:00
tailwind.config.ts feat(t3): add t3 example 2024-07-12 23:52:29 -06:00
tsconfig.json feat(t3): add t3 example 2024-07-12 23:52:29 -06:00

T3 App Example

This repository contains an example of T3 application with mysql database that is deployed on Dokploy.

  1. Use Git Provider in Your Application:

    • Repository: https://github.com/Dokploy/examples.git
    • Branch: main
    • Build path: /t3
  2. Create a MySQL Database:

    • Enter to the database and copy the Internal Connection URL.
  3. Add Environment Variables:

  • Navigate to the "Environments" tab and add the following variable:
    DATABASE_URL="the-database-url-you-copied-from-the-previous-step"
    
  1. Click on Deploy:

    • Deploy your application by clicking the deploy button.
  2. Generate a Domain:

    • Click on generate domain button.
    • A new domain will be generated for you.
    • You can use this domain to access your application.

If you need further assistance, join our Discord server.