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: 5 months 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 13 years ago)
- Default Branch: master
- Last Pushed: 2021-01-20T16:50:53.000Z (almost 5 years ago)
- Last Synced: 2024-11-29T09:39:10.819Z (about 1 year 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 mongodb
Start mongodb:
mongod
Create a virtual env:
virtualenv dbpatterns
source dbpatterns/bin/activate
Clone the repository and install requirements:
cd dbpatterns
git clone git://github.com/fatiherikli/dbpatterns.git
pip install -r dbpatterns/conf/requirements.pip
Create a file that named settings_local.py
Configure the database and secret key.
cd dbpatterns/web/dbpatterns
vim settings_local.py
The 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 runserver
That's all. You can access to dbpatterns on https://localhost:8000