-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
164 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
language: python | ||
services: mysql | ||
sudo: false | ||
python: "2.7" | ||
|
||
env: TOX_ENV=py2.7-rl32-django1.8 | ||
|
||
install: | ||
- pip install tox | ||
- tox -e $TOX_ENV -- pip install coveralls | ||
script: tox -e $TOX_ENV | ||
after_success: tox -e $TOX_ENV -- coveralls $COVERALLS_OPTION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,62 @@ | ||
========= | ||
Django-CV | ||
========= | ||
|
||
.. image :: https://travis-ci.org/ZuluPro/django-cv.svg?branch=master | ||
:target: https://travis-ci.org/ZuluPro/django-cv | ||
.. image:: https://coveralls.io/repos/ZuluPro/django-cv/badge.svg?branch=master | ||
:target: https://coveralls.io/r/ZuluPro/django-cv?branch=master | ||
|
||
.. image:: https://landscape.io/github/ZuluPro/django-cv/master/landscape.svg?style=flat | ||
:target: https://landscape.io/github/ZuluPro/django-cv/master | ||
:alt: Code Health | ||
|
||
Django application for manage and export your resume. | ||
|
||
Install | ||
======= | ||
|
||
:: | ||
|
||
python setup.py install | ||
git+git://github.com/ojii/pymaging.git#egg=pymaging | ||
git+git://github.com/ojii/pymaging-png.git#egg=pymaging-png | ||
|
||
Edit your ``settings.py`` for add ``curriculum`` to ``INSTALLED_APPS``: :: | ||
|
||
INSTALLED_APPS = ( | ||
... | ||
'curriculum', | ||
... | ||
) | ||
|
||
|
||
Usage | ||
===== | ||
|
||
All data can be filled in Django's administration site or by custom way. | ||
Export is made with views: | ||
|
||
- ``curriculum.views.export_single_page``: For create a single page resume | ||
- ``curriculum.views.export_classic``: For create a classic resume | ||
|
||
Tests | ||
===== | ||
|
||
You can run tests with Tox: :: | ||
|
||
tox -e py2.7-rl32-django1.8 | ||
|
||
Try it quickly | ||
============== | ||
|
||
Install it as describe above and launch the following commands: :: | ||
|
||
pip install django | ||
python tests/runtests.py migrate | ||
python tests/runtests.py createsuperuser | ||
# Create your login and password | ||
python tests/runtests.py runserver 0.0.0.0:8080 | ||
|
||
Now you can go to http://0.0.0.0:8080 and try the app. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
factory-boy>=2.6 | ||
pep8 | ||
flake8 | ||
pylint | ||
mock | ||
coverage<4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
xhtml2pdf | ||
qrcode | ||
git+git://github.com/ojii/pymaging.git#egg=pymaging | ||
git+git://github.com/ojii/pymaging-png.git#egg=pymaging-png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
[tox] | ||
envlist = py{2.7,pypy,3.2,3.3,3.4,3.5}-rl{27,30,31,32}-django{1.7,1.8,1.9} | ||
|
||
[testenv] | ||
passenv = * | ||
basepython = | ||
py2.7: python2.7 | ||
pypypy: pypy | ||
py3.2: python3.2 | ||
py3.3: python3.3 | ||
py3.4: python3.4 | ||
py3.5: python3.5 | ||
deps = | ||
git+git://github.com/ojii/pymaging.git#egg=pymaging | ||
git+git://github.com/ojii/pymaging-png.git#egg=pymaging-png | ||
-r{toxinidir}/requirements-tests.txt | ||
r27: reportlab>=2.7,<3.0 | ||
r30: reportlab>=3.0,<3.1 | ||
r31: reportlab>=3.1,<3.2 | ||
r32: reportlab>=3.2,<3.3 | ||
django1.7: Django>=1.7,<1.8 | ||
django1.8: Django>=1.8,<1.9 | ||
django1.9: Django>=1.9,<1.10 | ||
commands = {posargs:coverage run {toxinidir}/tests/runtests.py} |