This is a sample repository demonstrating how to deploy a Django project on Vercel. By using Vercel, you can easily deploy your Django application and make it accessible on the web.
Before getting started, make sure you have the following:
- A Django project ready for deployment.
- A Vercel account. If you don't have one, you can sign up for free at vercel.com.
To deploy your Django project on Vercel, follow these steps:
- Clone this repository to your local machine using the following command:
git clone https://github.com/YourUsername/vercel_deployment.git
- Navigate to the project's root directory:
cd vercel_deployment
- Install the required dependencies:
pip install -r requirements.txt
-
Update the Vercel configuration file (
vercel.json
) with your project settings. Modify the"buildCommand"
and"outputDirectory"
according to your Django project structure. -
Login to Vercel CLI by running the following command and following the prompts:
vercel login
- Deploy your Django project by running the following command:
vercel
-
Follow the instructions provided by Vercel CLI to configure your deployment settings, such as choosing a project name and deployment environment.
-
Once the deployment is complete, Vercel will provide you with a unique URL where your Django project is accessible.
You can use the following badges to showcase your Vercel deployment status:
Replace NagiPragalathan
with your Vercel account username and nagipragalathan
with the actual repository name.
Contributions to this sample repository are welcome! If you have any improvements or suggestions, feel free to submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more information.