Closed Rjak closed 4 years ago
I now have the starter app running correctly with no errors. Here were all the issues:
Neo4j Desktop 1.3.3 OOTB does not have the APOC plugins installed. grand-stack-starter
depends on them. Install them from Neo4j Desktop by clicking the empty (dotted outline) Plugins
area and choosing APOC.
Above I mentioned that grand-stack-starter
failed to authenticate with my new neo4j database with the default credentials neo4j
/neo4j
. You need to create a new user and also grant that user architect
:
GRANT ROLE architect TO foobarbaz
I have not confirmed it, but I strongly suspect that the above is required for a sandbox instance as well.
Lastly, as has been pointed out in another issue, seeding the database must be executed from the api directory. The correct output in the terminal should read:
To start your GRANDstack web application and GraphQL API run:
cd projectorvs
npm run start
Then (optionally) to seed the database with sample data, in another terminal run:
cd api
npm run seedDb
Since this is largely neo4j admin related I am tempted to close this issue, but I think grand-stack-starter needs to state things like this to save nub developers like me the afternoon it took to brain it all out.
@Rjak Thanks for the afternoon of :brain: Feel you on that one it's nice when docs match up...
As far as this https://github.com/grand-stack/grand-stack-starter/issues/91 goes:
Lastly, as has been pointed out in another issue, seeding the database must be executed from the api directory. The correct output in the terminal should ...
opened a PR to address the documentation along with a script to bridge into the api folder: https://github.com/grand-stack/grand-stack-starter/pull/104
Let me know you how think that reads.
Going to leave this open for now as there are some other issues to address in here, we'll get to them in turn. :smile_cat:
As far as this goes:
I have not confirmed it, but I strongly suspect that the above is required for a sandbox instance as well.
after creating a blank sandbox it looks like I have apoc functions by default:
confirmed this with @johnymontana that
yeah sandbox has apoc and gds/algos by default
hey @Rjak updated readme to reflect the need for APOC plugin ( although I need to take some better pictures :laughing:)
Neo4j Desktop 1.3.3 OOTB does not have the APOC plugins installed. grand-stack-starter depends on them. Install them from Neo4j Desktop by clicking the empty (dotted outline) Plugins area and choosing APOC.
Was not able to repro the user errors you were seeing
Above I mentioned that grand-stack-starter failed to authenticate with my new neo4j database with the default credentials neo4j/neo4j. You need to create a new user and also grant that user architect...
Let me know if the updates for apoc install look good and we can close this out and start a new issue if the user/creds is still applicable. Any more information about environment would be greatly appreciated
Closing this with PR, feel free to open for clarification on creds and signin
The default neo4j/neo4j credentials result in the following error for me:
I have created a new user for this database with :
But this user appears to lack other permissions:
I'm sure these are easy issues for experienced GRAND devs, but for someone new who is evaluating GRAND this is a lot of yak shaving and not filling me with a lot of confidence.