Skip to content
 
 

Repository files navigation

Tina Self Hosted Demo 🦙

Please checkout this Github discussion for more information about this demo.

Requirements

Local Development

Setup the .env file:

cp .env.example .env

Fill in the .env file with your own values.

MONGODB_URI=***
GITHUB_OWNER=***
GITHUB_REPO=***
GITHUB_BRANCH=***
GITHUB_PERSONAL_ACCESS_TOKEN=***
TINA_PUBLIC_IS_LOCAL=true

# _optionally_ Use Tina Cloud for user authentication
NEXT_PUBLIC_TINA_CLIENT_ID=***

MONGODB_URI is the connection string to your MongoDB database. You can use MongoDB Atlas to get a free database.

GITHUB_OWNER is the owner of the repository you want to use for your content.

GITHUB_REPO is the name of the repository you want to use for your content.

GIT_BRANCH is the branch of the repository you want to use for your content.

GITHUB_PERSONAL_ACCESS_TOKEN is a personal access token with repo access.

TINA_PUBLIC_IS_LOCAL is a flag that tells Tina to use the local filesystem as the backend.

NEXT_PUBLIC_TINA_CLIENT_ID (optionally use Tina Cloud for auth) is the client id for your Tina Cloud application. You can create a Tina Cloud application here.

Install the project's dependencies:

yarn install

Run the project locally:

yarn dev

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages