Follow these steps to set up the project locally:
- Python
- Django (you can install it via pip install django)
- Git (for cloning the repository)
-
Clone this repository:
git clone https://github.com/Varun-Kolanu/bast.git
-
Activate the virtual environment (optional but recommended)
-
On Windows:
.\venv\Scripts\activate
-
On MacOs or Linux:
source venv/Scripts/activate
-
Install required dependencies:
pip install -r requirements.txt
-
Create a .env taking reference of .env.example and replace your database credentials
-
Apply database migrations
python manage.py migrate
-
Start the development server
python manage.py runserver
-
Open http://localhost:8000/ to open the local development server of the url shortener