Nishant127 / url-shortner

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

URL Shortner

πŸ’» Development

πŸ—„οΈ Database Setup:

Create Database named urlshortner from MYSQL console.

πŸ‘¨β€πŸ’» Project Setup:

  • Clone this repository
  • Enter the shell by typing $ pipenv shell
  • Install dependencies by typing $ pipenv install
  • Complete the steps mentioned in Environment variables section
  • Run migrations $ python manage.py migrate
  • Run local server $ python manage.py runserver

πŸ” Environment variables:

  • Create file .env inside url_shortner directory
  • Copy contents from .env.example file and paste it in the .env file you just created.
  • After copying the contents, edit the SECRET_KEY, DATABASE_USER, DATABASE_NAME and DATABASE_PASSWORD with your respective key, user, database_name and password.

About


Languages

Language:Python 100.0%