MycroCoin / mycro

20 stars 2 forks source link

Investigate handling mycro dao deployment/management through migrations #28

Open Peddle opened 5 years ago

Peddle commented 5 years ago

I believe we should be able to manage mycro dao deployment and management (including upgrades at least partially) through custom django migrations. This blog post, discusses a brief example of running code in migrations. I think this would be much cleaner and extendable than our current solution.

WDYT @paymog

paymog commented 5 years ago

Very cool idea. I think this would be great to experiment with. I suspect it will be a little hard because of the dependencies we need to perform blockchain actions. This is low-priority work in my opinion.

Peddle commented 5 years ago

I think one advantage of getting this done before launching is we can have the exact same mycro state (including outdated artifacts) in dev and prod which might help prevent future headaches in the future