Shortish is a URL shortening webapp which is used to shorten any URL. Shortish also gives you a choice to customize your shortened URLs.
You can see the live version of this application here.
- 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
For Linux users:
source activate <environment-name>
- 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
- Shortish is ready for use. You can run it at http://127.0.0.1:8000/.