Getting Started
Learn how to set up and run your TanStarter website in minutes
This guide will walk you through setting up TanStarter.
Prerequisites
Before you begin, make sure you have the following installed:
Git
Git is a version control system that is used to track changes in any file.
If Git is not installed, download it from the Git official website.
# Check if Git is installed
git --versionNode.js
Node.js is a runtime environment that allows you to run JavaScript code.
If Node.js is not installed, download it from the Node.js official website.
# Check if Node.js is installed
node --versionQuick Setup
Set up your project
Clone the repository from GitHub:
git clone https://github.com/MkFastHQ/mkfast-template.git your-project-name
cd your-project-nameRemove the original remote connection and link to your own GitHub repository:
# Remove the original remote
git remote remove origin
# Create a new repository on GitHub, then link to your new repository
git remote add origin https://github.com/your-username/your-project-name.git
# Push the code to your new repository
git push -u origin mainSet up environment variables
Copy the .env.example file to .env as a starting point.
cp .env.example .envOpen the environment file and set the variables to your desired values. You can find more information about the environment variables in the Environment Configuration guide.
Start the development server
Now that you have the environment variables set up, you can start the development server by running the following command:
pnpm devThis will start the development server on http://localhost:3000 and you can access the template website.
Next Steps
Now that you have TanStarter running, here are some next steps:
TanStarter Docs