Skip to content

Commit 38800d3

Browse files
Merge pull request #14 from ekonstantinidis/serve-own-website
Generate View's Website
2 parents ce9e4f1 + e04565b commit 38800d3

21 files changed

+1017
-17
lines changed

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ covhtml/
55
__pycache__/
66

77
env/
8+
demo/db.sqlite3
9+
dist/
810
djangorestframeworkdocs.egg-info/
911

10-
demo/env/
11-
demo/db.sqlite3
12+
rest_framework_docs/static/node_modules/

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@ include LICENSE
33

44
recursive-include rest_framework_docs/static *.js *.css *.less *.png *.eot *.svg *.ttf *.woff
55
recursive-include rest_framework_docs/templates *.html
6+
7+
recursive-exclude rest_framework_docs/static/node_modules *.*
68
recursive-exclude * __pycache__
79
recursive-exclude * *.py[co]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Document Web APIs made with Django Rest Framework.
66
### Supports
77

88
- Python (2.7, 3.3, 3.4, 3.5)
9-
- Django (1.7, 1.8, 1.9)
9+
- Django (1.8, 1.9)
1010
- Django Rest Framework (3+)
1111

1212

demo/README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,25 @@ A demo project to get you started with DRF docs development.
33

44

55
### Installation
6+
From the route of the repository:
67

78
# Create the virtual environment
89
pyvenv env
910

1011
# Install requirements
1112
env/bin/pip install -r requirements.txt
1213

14+
# Activate the environment
15+
source env/bin/activate
16+
17+
# Cd Into the demo
18+
cd demo/
19+
1320
# Install Django Rest Framework Docs
14-
env/bin/pip install -e ../
21+
pip install -e ../
1522

1623
# Run the project
17-
env/bin/python manage.py runserver
24+
python manage.py runserver
1825

1926
**Note**: You **do not** need a database or to run `migrate`.
2027

demo/requirements.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

rest_framework_docs/static/css/style.css

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.
Binary file not shown.

rest_framework_docs/static/fonts/fontawesome-webfont.svg

Lines changed: 655 additions & 0 deletions
Loading
Binary file not shown.

0 commit comments

Comments
 (0)