Closed gazzastone closed 10 years ago
Hi there
Afraid I can't help with the vagrant part but hopefully can with the database problem. The schema.sql
was used in a previous version of BadgeKit API - it's been replaced with a database migration script you can find at bin/db-migrate
(in badgekit-api
). The self-hosting guide should be up to date on the installation process: https://github.com/mozilla/openbadges-badgekit/wiki/BadgeKit-Self-Hosting-Guide
This branch of the API also has the updated guidance https://github.com/mozilla/badgekit-api/tree/doc-tidy
Hope that helps!
I have been following the guide and have got as far as creating the database ok, after entering bin/db-migrate up nothing happens and no tables get created. if I enter bash bin/db-migrate up I get line 3 syntax error near unexpected token '('
I might add that I have no experience with Linux boxes so am following the instructions blindly :-)
ok have solved that on my installation node.js command name is nodejs rather then node, I modified the first line of db-migrate #!/usr/bin/env node to #!/usr/bin/env nodejs and the script ran fine by not having the command name 'node' is it going to create problems for me going forward if so any suggestions please
Ah thanks for the update, wasn't sure what to suggest :confused:
I am struggling to install this project from any of the guides that are available, Firstly most refer to a schema.sql which appears to be missing from the project.
Also trying to follow the instructions for a vagrant install the box that is referenced is giving a 404 error http://stuff.webmaker.org/devtools/badgekitsuite.box
Any help appreciated
Thanks