Skip to content
This repository was archived by the owner on Jan 7, 2022. It is now read-only.

Commit aafac9a

Browse files
authored
Merge pull request #2 from nikhila05/initial_app
Initial app
2 parents ffbb0b4 + cde77aa commit aafac9a

File tree

30 files changed

+398
-44
lines changed

30 files changed

+398
-44
lines changed

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
*.pyc
2+
*~
3+
dist
4+
build
5+
django_webpacker.egg-info/
6+
sample_project/node_modules/
7+
sample_project/static/webpack_bundles/

.travis.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
language: python
2+
3+
python:
4+
- "3.4"
5+
6+
install:
7+
- python setup.py install
8+
- pip install coveralls
9+
10+
script:
11+
- coverage run --source=testapp sample_project/manage.py test
12+
13+
after_success:
14+
coveralls

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
include README.rst
2+
recursive-include django_webpacker/management *

README.rst

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,23 @@
11
django-webpacker's documentation:
22
=====================================
33

4-
#badges
4+
.. image:: https://readthedocs.org/projects/django-webpacker/badge/?version=latest
5+
:target: http://django-webpacker.readthedocs.io/en/latest/?badge=latest
6+
:alt: Documentation Status
7+
8+
.. image:: https://coveralls.io/repos/github/MicroPyramid/django-webpacker/badge.svg?branch=master
9+
:target: https://coveralls.io/github/MicroPyramid/django-webpacker?branch=master
10+
11+
.. image:: https://travis-ci.org/MicroPyramid/django-webpacker.svg?branch=master
12+
:target: https://travis-ci.org/MicroPyramid/django-webpacker
13+
14+
.. image:: https://landscape.io/github/MicroPyramid/django-webpacker/master/landscape.svg?style=flat
15+
:target: https://landscape.io/github/MicroPyramid/django-webpacker/master
16+
:alt: Code Health
17+
18+
.. image:: https://img.shields.io/github/license/micropyramid/django-webpacker.svg
19+
:target: https://pypi.python.org/pypi/django-webpacker/
20+
521

622
Introduction:
723
=============

django_webpacker/management/commands/__init__.py

Whitespace-only changes.

docs/source/index.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
django-webpacker's documentation:
22
=====================================
33

4-
#badges
5-
64
Introduction:
75
=============
86

sample_project/manage.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/usr/bin/env python
2+
import os
3+
import sys
4+
5+
if __name__ == "__main__":
6+
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "sample_project.settings")
7+
try:
8+
from django.core.management import execute_from_command_line
9+
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
12+
# exceptions on Python 2.
13+
try:
14+
import django
15+
except ImportError:
16+
raise ImportError(
17+
"Couldn't import Django. Are you sure it's installed and "
18+
"available on your PYTHONPATH environment variable? Did you "
19+
"forget to activate a virtual environment?"
20+
)
21+
raise
22+
execute_from_command_line(sys.argv)

sample_project/package.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"name": "sample_project",
3+
"version": "1.0.0",
4+
"description": "",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1"
8+
},
9+
"author": "",
10+
"license": "ISC",
11+
"devDependencies": {
12+
"babel": "^6.23.0",
13+
"babel-core": "^6.24.0",
14+
"babel-loader": "^6.4.1",
15+
"css-loader": "^0.28.0",
16+
"extract-text-webpack-plugin": "^2.1.0",
17+
"file-loader": "^0.11.1",
18+
"html-webpack-inline-source-plugin": "0.0.7",
19+
"html-webpack-plugin": "^2.28.0",
20+
"image-webpack-loader": "^3.3.0",
21+
"less-loader": "^4.0.3",
22+
"node-sass": "^4.5.2",
23+
"react": "^15.4.2",
24+
"react-hot-loader": "^1.3.1",
25+
"sass-loader": "^6.0.3",
26+
"script-loader": "^0.7.0",
27+
"style-loader": "^0.16.1",
28+
"webpack": "^2.3.3",
29+
"webpack-bundle-tracker": "^0.2.0",
30+
"webpack-dev-server": "^2.4.2"
31+
},
32+
"dependencies": {
33+
"imports-loader": "^0.7.1",
34+
"jquery": "^3.2.1"
35+
}
36+
}

sample_project/requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
boto==2.46.1
2+
Django==1.9.13
3+
django-webpacker==0.1.1

sample_project/sample_project/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)