platform-coop-toolkit / coop-map-directory-index

The Map/Directory/Index component of the Platform Cooperative Development Kit.
https://directory.platform.coop
BSD 3-Clause "New" or "Revised" License
1 stars 3 forks source link

Set up a separate dev deploy #68

Closed greatislander closed 4 years ago

greatislander commented 4 years ago

Currently, the database at https://demo.directory.platform.coop contains our production data. For development it would be good to have a separate deployed version (https://dev.directory.platform.coop) that is less critical. It also makes sense to deploy code from master to the production site and from dev to the development site, as we do for other Platform Co-op projects.

greatislander commented 4 years ago

@gtirloni I've created a dev branch.

@erictheise I am leaving master as the main branch of the repo for now. However, I think we should switch the main branch to dev and make all pull requests against dev, and treat master as "stable" going forward. Thoughts?

erictheise commented 4 years ago

@greatislander, no objections to adapting to house flow (dev and master branches). Would've started the project using those conventions had I known.

And yes, it's great that @gtirloni's on board and able to spin up a dev server & database and hopefully to have a cleaner way to pull production data into a local dev environment.

colinbdclark commented 4 years ago

That also makes sense to me, @greatislander.

greatislander commented 4 years ago

Thanks @erictheise and @colinbdclark for the feedback. I've updated the default branch to dev and changed the two open pull requests to be against dev. Over to @gtirloni for deploy configuration.

greatislander commented 4 years ago

Resolved in #79. dev is now deployed to dev.directory.platform.coop.