NoSql – mongoDB uz to niekto skusal?
- David Ďurika
- Člen | 328
Zdravim, ma niekto rozbehne Nette s nejaky layerom pre mongoDB ? popripade
nejake ine NoSql.
dik
- David Ďurika
- Člen | 328
chcel som spravit len maly projektik nejaky sandbox a otestovat si mongoDb a nechcelo sa mi tam rozbehavat doctrine a vsetko okolo toho…
- David Ďurika
- Člen | 328
snazil som sa nainstalovat ten tvoj balik cez composer ale hodilo mi to hlasku „No valid composer.json was found in any branch or tag of https://github.com/…godb-odm.git, could not load a package from it.“, tak som si to normalne stiahol z gitu a do composer.json som si pridal
"doctrine/mongodb-odm": "*",
ze nech mi aspon to stiahne ale vyhodilo mi to rovnaku chybu:
„No valid composer.json was found in any branch or tag of https://github.com/…godb-odm.git,
could not load a package from it.“
nevies v com moze byt problem? mam uplne novy nette sandbox nainstalovany
cez composer
moj composer.json
{
"name": "nette/sandbox",
"description": "The sandbox is a pre-packaged Nette Framework project, basic configured structure for your application.",
"homepage": "https://nette.org",
"license": ["BSD-3-Clause", "GPL-2.0", "GPL-3.0"],
"authors": [
{
"name": "David Grudl",
"homepage": "http://davidgrudl.com"
},
{
"name": "Nette Community",
"homepage": "https://nette.org/en/contributors?lang=en"
}
],
"config": {
"vendor-dir": "vendor"
},
"require": {
"php": ">= 5.3.0",
"nette/nette": "@dev",
"bazo/nette-document-manager-extension": "*"
},
"require-dev": {
"nette/tester": "@dev"
},
"minimum-stability": "dev",
"repositories": [
{
"type": "git",
"url": "https://github.com/doctrine/mongodb-odm.git"
},
{
"type": "git",
"url": "https://github.com/bazo/nette-document-manager-extension.git"
}
]
}
- David Matějka
- Moderator | 6445
jestli si dobre pamatuju, tak jsem mel stejnou (nebo podobnou) chybu.
po spusteni composeru to nejdriv vyhodilo chybu, ze neni nastaveny timezone a
potom ze nebyl nalezen composer.json.. tak jsem v php.ini (pro cli) nastavil
date.timezone = Europe/Prague
a slape to :)
- David Ďurika
- Člen | 328
no tak nakoniec sa mi to s @hosiplan-ovou poomocou podarilo rozbehat
@bazo podla tvojho sandboxu som si nastavil nette. len neviem ako mam vygenerovat proxies a hydrators. vedel by si mo to nejako v skratke ukazat / vysvetlid ? dik