Skip to content
Josef Ráž edited this page Oct 7, 2024 · 3 revisions

Client installation

Tutorial showing how to install Trek server.

Requirements

  • GitHub account
  • Vercel account
  • DNS domain (optional)

Create Vercel account and connect it with GitHub

It's pretty simple, more info here.

Fork this project on GitHub

Again, very simple. More info here.

Modify production URL

In src/environments/environment.prod.ts modify baseApiUrl to URL of your server:

export const environment = {
  production: true,
  baseApiUrl: 'https://your-trek.example.com',
};

Import your forked repository to Vercel

Again, very simple. More info.

Add custom domain to the Vercel project (optional)

Not as simple. More info.

Success

You have deployed Trek client! You can access it on URL show in your Vercel project.