Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pyistanbul/dbpatterns
Dbpatterns is a service that allows you to create, share, explore database models on the web. Built on top of Django, Backbone. Patterns are stored on MongoDB, and uses Lettuce for BDD approach.
https://github.com/pyistanbul/dbpatterns
database mongodb
Last synced: 27 days ago
JSON representation
Dbpatterns is a service that allows you to create, share, explore database models on the web. Built on top of Django, Backbone. Patterns are stored on MongoDB, and uses Lettuce for BDD approach.
- Host: GitHub
- URL: https://github.com/pyistanbul/dbpatterns
- Owner: pyistanbul
- License: other
- Created: 2012-10-07T18:45:13.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2021-01-20T16:50:53.000Z (almost 4 years ago)
- Last Synced: 2024-08-09T13:16:36.283Z (5 months ago)
- Topics: database, mongodb
- Language: JavaScript
- Homepage:
- Size: 890 KB
- Stars: 357
- Watchers: 39
- Forks: 51
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Db-patterns
Dbpatterns is a service that allows you to create, share, explore database models on the web.
Notes:
The previous domain is not active anymore.
Project might be relaunched under a different domain### Installation
Install mongodb:
sudo apt-get install mongodb
# or on mac
sudo brew install mongodbStart mongodb:
mongod
Create a virtual env:
virtualenv dbpatterns
source dbpatterns/bin/activateClone the repository and install requirements:
cd dbpatterns
git clone git://github.com/fatiherikli/dbpatterns.git
pip install -r dbpatterns/conf/requirements.pipCreate a file that named settings_local.py
Configure the database and secret key.cd dbpatterns/web/dbpatterns
vim settings_local.pyThe example of configuration:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': 'data',
'USER': '',
'PASSWORD': '',
'HOST': '',
'PORT': '',
}
}SECRET_KEY = ''
And run the following commands:
cd ../
python manage.py syncdb
python manage.py runserverThat's all. You can access to dbpatterns on https://localhost:8000