wdjungst / create-repack-app

A cli to build a rails application with create-react-app
90 stars 11 forks source link

Issues for users running on Linux Subsystem for Windows: #30

Open green6060 opened 6 years ago

green6060 commented 6 years ago

Issue affects users running on Linux subsystem for Windows (and others with strict settings related to creating roles on their local server)

You need to be able to put your own postgres user name BEFORE devise:install runs because users running on Linux subsystem have an unrelated issue with the default role parameter not being an accepted role, and therefore devise install will not work, when running "create-repack-app project_name --full -y". Theoretically, ANYONE with strict settings related to creating new roles on their local server, will have this same issue. Perhaps the user may have the option of passing in their "role" name as an argument, to be inserted into the database.yml?

vincepay commented 6 years ago

I am having the same exact problem!

wdjungst commented 6 years ago

I think this is a rails issue rather than repack but I am open to supporting this and I would love to see a pull request!