Skip to content

devanshgoenka97/url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##Introduction

A Simple URL Shortener, written in Python, supported by the Django Framework
This App is live at: [URL Shortener] (http://devansh.pythonanywhere.com)

##Database used

MySQL

##Dependencies

  • Python 2.7
  • Django 1.6.1

##Deploying the App

  1. Install Django(1.6.1) through the command line (or pip)

sudo apt-get install python-django

  1. Clone the directory into a working project, say MyProject

git clone http://github.com/devanshgoenka97/url-shortener

  1. Install the MySQL client for python through pip

pip install mysql-client python-dev

  1. In the settings.py file inside MyProject/URLShortener/ change the DATABASES -> ENGINE to

django.db.backends.mysql

  1. Create an appropriate database in MySQL and sync

python manage.py syncdb

  1. Create a superuser

python manage.py createsuperuser

  1. Run the Server

python manage.py runserver

  1. Open your browser to 127.0.0.1:8000 to use the app

##For the official documentation for Django, Visit

Django documentation

##Created by

Devansh Goenka

About

A Simple URL Shortener in Django 1.6.1, Styled by Bootstrap

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published