Skip to content

Commit 3860126

Browse files
committed
Defined files and added instruction for linux users
1 parent 23d1be9 commit 3860126

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ Shortish is a URL shortening webapp which is used to shorten any URL. Shortish a
2626
For windows users:
2727
2828
.\Scripts\activate
29+
30+
For Linux users:
31+
32+
source activate <environment-name>
2933
```
3034

3135
5. Now, install python dependencies.
@@ -41,4 +45,4 @@ Shortish is a URL shortening webapp which is used to shorten any URL. Shortish a
4145
python manage.py migrate
4246
python manage.py runserver
4347
```
44-
8. That's it, Shortish is ready. You can run it at [http://127.0.0.1:8000/](http://127.0.0.1:8000/).
48+
8. Shortish is ready for use. You can run it at [http://127.0.0.1:8000/](http://127.0.0.1:8000/).

url_shortener/manage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
try:
88
from django.core.management import execute_from_command_line
99
except ImportError:
10-
# The above import may fail for some other reason. Ensure that the
11-
# issue is really that Django is missing to avoid masking other
10+
# The above import may fail for some other reason.
11+
# Ensure that the issue is really that Django is missing to avoid masking other
1212
# exceptions on Python 2.
1313
try:
1414
import django

url_shortener/shortish/apps.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from django.apps import AppConfig
22

3+
# used to run app
34

45
class ShortishConfig(AppConfig):
56
name = 'shortish'

0 commit comments

Comments
 (0)