⬇️Vercel Setup Guide
Vercel Setup Instructions
Demo
Check out the live demo: https://vercel.cssbans.online/
What is Vercel?
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!
Instructions
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.exampleand 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:
RANKS="Disabled"
VIP="Disabled"
SKINS="Disabled"Database:
DB_HOST_VIP=
DB_DATABASE_VIP=
DB_USERNAME_VIP=
DB_PASSWORD_VIP=
DB_PORT_VIP=3306
DB_HOST_RANKS=
DB_DATABASE_RANKS=
DB_USERNAME_RANKS=
DB_PASSWORD_RANKS=
DB_PORT_RANKS=3306
DB_HOST_SKINS=
DB_DATABASE_SKINS=
DB_USERNAME_SKINS=
DB_PASSWORD_SKINS=
DB_PORT_SKINS=3306Application Settings:
APP_DEBUG=false
APP_NAME='css-bans'
APP_URL= # Replace with your domain, e.g., https://mysite.vercel.app
DB_HOST=
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=
STEAM_CLIENT_SECRET=
RCON_PASSWORD=
STEAM_REDIRECT_URI=${APP_URL}/auth/steam/callback # Replace ${APP_URL} with your domain
ASSET_URL=${APP_URL} # Replace ${APP_URL} with your domain6. Upload Configuration to Vercel
- Navigate to your Vercel project settings. 
- Under the "Environment Variables" tab, add each key-value pair from your - .envfile.
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! 
Last updated