This repository has been archived by the owner on Oct 4, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
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
1 parent
12edeba
commit 2f78c3a
Showing
4 changed files
with
68 additions
and
0 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,5 @@ | ||
include LICENSE | ||
include README.rst | ||
recursive-include h5pp/static * | ||
recursive-include h5pp/templates * | ||
recursive-include docs * |
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,27 @@ | ||
==================== | ||
H5PP | ||
HTML5 Package Python | ||
==================== | ||
|
||
H5PP is a port of H5P to the Python language and the web framework Django. | ||
H5P makes it easy to create, share and reuse HTML5 content and applications. Authors may create and edit interactive videos, presentations, games, advertisements and more. Content may be imported and exported. All that is needed to view or edit H5P content is a web browser. | ||
|
||
Quick start | ||
----------- | ||
|
||
1. Add 'H5PP' to your INSTALLED_APPS setting like this:: | ||
|
||
INSTALLED_APPS = [ | ||
... | ||
'H5PP', | ||
] | ||
|
||
2. Include the H5PP URLconf in your project urls.py like this:: | ||
|
||
url(r'^h5p/', include('h5pp.urls')) | ||
|
||
3. Run `python manage.py migrate` to create the H5PP models. | ||
|
||
4. Start the development server and visit http://127.0.0.1:8000/h5p to acces to the control panel of H5PP. Go to '/h5p/libraries' and install the H5P content libraries. | ||
|
||
5. Visit http://127.0.0.1:8000/h5p/create to create new H5P contents. |
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,5 @@ | ||
[egg_info] | ||
tag_build = | ||
tag_date = 0 | ||
tag_svn_revision = 0 | ||
|
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,31 @@ | ||
import os | ||
from setuptools import find_packages, setup | ||
|
||
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: | ||
README = readme.read() | ||
|
||
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) | ||
|
||
setup( | ||
name='H5PP', | ||
version='0.1', | ||
packages=find_packages(), | ||
include_package_data=True, | ||
license='GPL License', | ||
description='A Python version of H5P software.', | ||
long_description=README, | ||
author='OBLED Joel', | ||
author_email='[email protected]', | ||
classifiers=[ | ||
'Environment :: Web Environment', | ||
'Framework :: Django', | ||
'Framework :: Django :: 1.8', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: GPL License', | ||
'Operating System :: Linux', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 2.7.9', | ||
'Topic :: Internet :: WWW/HTTP', | ||
'Topic :: Internet :: WWWW/HTTP :: Dynamic Content', | ||
], | ||
) |