Skip to content

Commit 1a039e1

Browse files
added django-server shell script
1 parent 137c899 commit 1a039e1

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ This repo is to request for the new libraray.
55
Requests for library
66
- [test library](https://github.com/GNDG/library/blob/master/detail/libraryDetali.md) request by [Juggernaut451](https://github.com/juggernaut451)
77

8+
- [django server](https://github.com/theparadoxer02/library/blob/master/shell-scripts/details.md) by [theparadoxer02](https://github.com/theparadoxer02)
89

910
> While making a PR for this repo. Kindly
1011
> add md file with detail info about the
11-
> library and hyperlink it above.
12+
> library and hyperlink it above.

shell-scripts/details.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
If You have worked on django framework then you must have gone though these repetitive task:-
2+
- Changing the directory to location where Django project is located
3+
- Activating the virtual environment
4+
- Opening the project in text Editor like Sublime-text or Atom
5+
- Runing the Djnago Server i.e `python manage.py runserver`
6+
7+
Programmers are meant to be lazy to do repetitive tasks :P. So [django server](https://github.com/theparadoxer02/library/blob/master/shell-scripts/details.md)
8+
is a tool that will automate the above procedures.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#! /bin/bash
2+
# change directory to the project location
3+
cd /media/abhi/300Gb/Office/
4+
source venv/bin/activate
5+
# open with sublime, can be used other editors like atom
6+
subl itoucan_2017
7+
cd itoucan_2017
8+
python manage.py runserver

0 commit comments

Comments
 (0)