在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:lmacken/django-example开源软件地址:https://github.com/lmacken/django-example开源编程语言:Python 90.7%开源软件介绍:Django on OpenShift ExpressThis git repository helps you get up and running quickly w/ a Django installation on OpenShift Express. The Django project name used in this repo is 'openshift' but you can feel free to change it. Right now the backend is sqlite3 and the database runtime is @ $OPENSHIFT_DATA_DIR/sqlite3.db. When you push this application up for the first time, the sqlite database is copied from wsgi/openshift/sqlite3.db. This is the stock database that is created when 'python manage.py syncdb' is run with only the admin app installed. You can delete the database from your git repo after the first push (you probably should for security). On subsequent pushes, a 'python manage.py syncdb' is executed to make sure that any models you added are created in the DB. If you do anything that requires an alter table, you could add the alter statements in GIT_ROOT/.openshift/action_hooks/alter and then use GIT_ROOT/.openshift/action_hooks/build to execute that script (make susre to back up your database w/ rhc-snapshot first :) ) Running on OpenShiftCreate an account at http://openshift.redhat.com/ Create a wsgi-3.2 application
Add this upstream seambooking repo
Then push the repo upstream
That's it, you can now checkout your application at (default admin account is admin/admin):
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论