Deploy QexoVercel on Vercel
A step-by-step guide to deploy your Hexo blog management system
Visit the QexoVercel GitHub repository and click the "Fork" button in the top-right corner.
Note: Make sure you're forking the correct repository. The official QexoVercel repository is maintained by am-abudu.
QexoVercel supports several database options:
- SQLite (not recommended for production on Vercel due to serverless limitations)
- MySQL/MariaDB
- PostgreSQL (recommended for Vercel deployment)
For Vercel deployment, we recommend using a PostgreSQL database from providers like:
- Neon
- Supabase
- Railway
After setting up your database, make note of the connection string as you'll need it in the next steps.
- Go to Vercel and sign in with your GitHub account
- Click "Add New" → "Project"
- Select your forked QexoVercel repository
- Configure the following environment variables in the Vercel project settings:
DATABASE_URL=your_database_connection_string
DJANGO_SUPERUSER_USERNAME=admin
DJANGO_SUPERUSER_PASSWORD=your_secure_password
DJANGO_SUPERUSER_EMAIL=your_email@example.com
SECRET_KEY=your_django_secret_key
ALLOWED_HOSTS=.vercel.app,your-custom-domain.com
DEBUG=FalseClick "Deploy" and wait for the deployment to complete.
After deployment, visit your Vercel app URL and log in with the superuser credentials you set in the environment variables.
Navigate to Settings and configure:
- GitHub/GitLab/Gitee repository information
- API tokens and access credentials
- Hexo configuration settings
- Custom deployment settings
Make sure your blog repository has the correct Hexo structure and configuration files.
Try creating a new post or editing an existing one through the QexoVercel interface.
Check that changes are being pushed to your repository and that your Hexo blog is being updated correctly.
If you encounter any issues, check the Vercel logs for error messages and ensure all environment variables are set correctly.