Yet another url shortener built with Django framework.
First create a virtual environment by running this command.
$ python -m venv .venv
Add your SECRET_KEY
to the end of the .venv/bin/activate
file.
...
export SECRET_KEY="ThiSIsMyDjanGoSeCreTKey"
Activate your virtual environment
$ source .venv/bin/activate
Install dependencies via pip
$ pip install -r requirements.txt
Django can create migrations for you. Simply run these commands to create migrations and migrate:
$ python manage.py makemigrations shortener
$ python manage.py migrate
Run this command to start development server on your computer:
$ python manage.py runserver
You may access the server at http://localhost:8000/ by default.
- Add AJAX to front end
- Make responsive
- Url previews and Twitter summary cards support
- Improve analytics