https://github.com/arteria/django-mobileapps-store
Django mobile app store switcher - redirects to Apple's App Store, to Google Play Store or to a landing page depending on the User Agent.
https://github.com/arteria/django-mobileapps-store
Last synced: 3 months ago
JSON representation
Django mobile app store switcher - redirects to Apple's App Store, to Google Play Store or to a landing page depending on the User Agent.
- Host: GitHub
- URL: https://github.com/arteria/django-mobileapps-store
- Owner: arteria
- License: mit
- Created: 2014-02-19T09:27:04.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-23T23:25:16.000Z (over 10 years ago)
- Last Synced: 2025-01-24T15:27:35.367Z (4 months ago)
- Language: Python
- Homepage:
- Size: 168 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.txt
- License: LICENSE
Awesome Lists containing this project
README
Django mobile app store switcher
============Django app to dedect if we have to redirect the client to Apple's App Store, to the Google Play Store or an other landing page.
This is build for exactly one app [1]_, that is available in the App Store and/or Google Play Store.Installation
------------To get the latest stable release from PyPi
To get the latest commit from GitHub
.. code-block:: bash
pip install -e git+git://github.com/arteria/django-mobileapps-store.git#egg=mobileapps_store-master
Add ``mobileapps_store`` to your ``INSTALLED_APPS``
.. code-block:: python
INSTALLED_APPS = (
...,
'mobileapps_store',
)Add the ``mobileapps_store`` URLs to your ``urls.py``
.. code-block:: python
urlpatterns = patterns('',
...
url(r'^mobileappsstore/', include('mobileapps_store.urls')),
)
Don't forget to migrate your database
.. code-block:: bash
./manage.py migrate mobileapps_store
Requirements
------------* httpagentparser
Contribute
----------If you want to contribute to this project, please perform the following steps
.. code-block:: bash
# Fork this repository
# Clone your fork
mkvirtualenv -p python2.7 django-mobileapps-store
make developgit co -b feature_branch master
# Implement your feature and tests
git add . && git commit
git push -u origin feature_branch
# Send us a pull request for your feature branch.. [1] The app with the highest primary key/ID wins.