Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setting Up Locally For Development


Table Of Contents

Requirements

Python

Link To Download Python


Step 1

Clone the project and navigate into the main project folder


Step 2

Create A Virtual Environment

Run py -m venv venv in the command prompt in the main project folder for windows users

Activate the virtual environment by runing venv\Scripts\activate in the commant prompt for windows users


Step 3

Run pip install -r requirements.txt in the commant prompt for windows users


Step 4

Environment Variables

Create a .env file and put in it the following:

Name Value
SECRET_KEY Click to here generate one
DEBUG True

Step 5

Run these commands in the terminal


py manage.py makemigrations

py manage.py migrate

py manage.py runserver


Step 6

Navigate to Api Documentation for api documentation


Note:

If you have no previous knowledge on Python or django here are links to their documentations:

Python Documentation

Django Documentation

Django Rest Framework Documentation


About

A Url Shortener built with django and has a rest api

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages