Slingitme, a URL shortener that helps you generate short and crisp links which not only makes the link look much cleaner and allows customization, but also helps to keep a track of clicks and also monitor traffic behaviour.
My first django project, so do ⭐ and appreciate.
-
Create a virtual environment
virtualenv venv
-
Start virtual environment
source venv/bin/activate
-
Install requirements
pip install -r requirements/requirements.txt
-
Set your domain name in
settings/settings.py
MY_URL='my-domain-name.com'
To enable Debug set the variable
DEBUG
toTrue
. -
Migrate DB
python manage.py makemigrations
andpython manage.py migrate
-
Running test server, go to the folder with
manage.py
file and run:python manage.py runserver
This will run the server at localhost:8000.