codeforpdx / dwellingly-app

Application for property managers to communicate with social workers
48 stars 28 forks source link

Setup `bin/dev` file to start server and compile js #808

Closed NickSchimek closed 2 years ago

NickSchimek commented 2 years ago

Description

Sets up a bin/dev file to start the rails server and any other required systems needed for development.

As of now this starts the Rails server and the webpack server so that javascript changes are automatically compiled and reloaded on change.

@Chris-Boe and @kgottfri can you pull this down and approve the PR if it works for you?

NickSchimek commented 2 years ago

It seems this is a common windows issue when running a bash script.

Using dos2unix is mentioned when I google bin/dev '\r' command not found

using bin/dev isn't necessary. So maybe I will just update the doc with instructions for booting up the servers with the way we had it and this way as an alternate way.