Vercel Setup Guide
Last updated
Last updated
Check out the live demo:
Vercel is a free serverless hosting platform that allows you to host your web applications without any server or hosting knowledge. It's managed directly through GitHub builds!
Follow these steps to set up your environment variables for the project on Vercel.
1. Fork the Repository
Click "Fork" on the GitHub repository page.
2. Add Project to Vercel
Go to your Vercel dashboard.
Click "New Project".
Select "Import Git Repository".
Choose your forked repository.
3. First Build
Vercel will automatically build the project.
Once the build is complete, obtain the domain for your project.
4. Edit Configuration
Copy the contents of .env.vercel.example
and fill in the required values.
Go to your Vercel project settings and select Node.js version 18.x
.
5. Environment Variables
Configure the .env.verce.example
file with the following settings:
Modules:
Database:
Application Settings:
6. Upload Configuration to Vercel
Navigate to your Vercel project settings.
Under the "Environment Variables" tab, add each key-value pair from your .env
file.
7. Rebuild Your Project
Ensure all values, especially URLs and database credentials, are correct.
Rebuild your project on Vercel.
Your site should now be up and running!