Skip to content
This repository has been archived by the owner on Sep 2, 2020. It is now read-only.

Role Your own #454

Closed
gazzastone opened this issue Jun 27, 2014 · 4 comments
Closed

Role Your own #454

gazzastone opened this issue Jun 27, 2014 · 4 comments

Comments

@gazzastone
Copy link

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

@SueSmith
Copy link
Contributor

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!

@gazzastone
Copy link
Author

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 :-)

@gazzastone
Copy link
Author

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

@SueSmith
Copy link
Contributor

Ah thanks for the update, wasn't sure what to suggest 😕

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants