Shortish is a URL shortening webapp which is used to shorten any URL. Shortish also gives you a choice to customize your shortened URLs.
- Get the source code on your pc via git and navigate inside the folder through your terminal.
git clone https://github.com/altruistcoder/URL_Shortener
- Create a virtual environment and navigate inside it.
virtualenv venv
-
Move the contents of cloned repository inside virtual environment folder.
-
Activate the virtual environment (You have to activate it everytime you are working on project).
For mac users:
source bin/activate
For windows users:
.\Scripts\activate
- Now, install python dependencies.
pip install -r requirements.txt
-
Now, navigate to the directory containing manage.py file.
-
Run following command:
python manage.py migrate
python manage.py runserver
- That's it, Shortish is ready. You can run it at http://127.0.0.1:8000/.