Skip to content

Simple django project using djangorestframework to create an admin panel crud for employees

Notifications You must be signed in to change notification settings

Kevin-braga/IGS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IGS

Simple django project using djangorestframework to manage employees data

Setup

The first thing to do is to clone the repository:

$ git clone https://github.com/Kevin-braga/IGS.git
$ cd IGS-main

Create a virtual environment to install dependencies in and activate it:

$ virtualenv env
$ source env/bin/activate

Then install the dependencies:

(env)$ pip install -r requirements.txt

Note the (env) in front of the prompt. This indicates that this terminal session operates in a virtual environment set up by virtualenv.

Once pip has finished downloading the dependencies:

(env)$ python manage.py createsuperuser
(env)$ python manage.py runserver

To create your superuser for acessing the admin panel and then running your local server.

And navigate to http://127.0.0.1:8000/employees/.

In order to list, add and remove employees.

Also navigate to http://127.0.0.1:8000/admin/.

To view the admin panel and manage employees data.

About

Simple django project using djangorestframework to create an admin panel crud for employees

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages