psecio / gatekeeper

Gatekeeper: An Authentication & Authorization Library
366 stars 23 forks source link

setup.sh #71

Open lucavizzi opened 7 years ago

lucavizzi commented 7 years ago

Executing setup.sh I get this response: cp: cannot stat ./vendor/psecio/gatekeeper/phinx.dist.yml': No such file or directory sed: can't read ./phinx.yml: No such file or directory sed: can't read ./phinx.yml: No such file or directory sed: can't read ./phinx.yml: No such file or directory sed: can't read ./phinx.yml: No such file or directory rm: cannot remove./phinx.yml-e': No such file or directory cp: cannot stat ./vendor/psecio/gatekeeper/.env.dist': No such file or directory sed: can't read ./.env: No such file or directory sed: can't read ./.env: No such file or directory sed: can't read ./.env: No such file or directory sed: can't read ./.env: No such file or directory rm: cannot remove./.env-e': No such file or directory --- Running migrations ----------

./setup.sh: line 87: vendor/bin/phinx: No such file or directory DONE!

No tables has been created in the DB. Any hint?

P.S.: Is a .sql file available?

Regards

JGM-Ramalho commented 6 years ago

You have to run the setup.sh from the root of your project (the same place you run composer from) then it will work