/URL_Shortener

Shortish - a URL shortening webapp which gives you a choice to make custom URLs.

Primary LanguagePython

SHORTISH

Shortish is a URL shortening webapp which is used to shorten any URL. Shortish also gives you a choice to customize your shortened URLs.

Instructions

  1. 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
  1. Create a virtual environment and navigate inside it.
  virtualenv venv
  1. Move the contents of cloned repository inside virtual environment folder.

  2. 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
  1. Now, install python dependencies.
  pip install -r requirements.txt
  1. Now, navigate to the directory containing manage.py file.

  2. Run following command:

  python manage.py migrate
  python manage.py runserver
  1. That's it, Shortish is ready. You can run it at http://127.0.0.1:8000/.