Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streamline Developer Provisioning #85

Open
3 tasks
andyl opened this issue Jul 2, 2018 · 5 comments
Open
3 tasks

Streamline Developer Provisioning #85

andyl opened this issue Jul 2, 2018 · 5 comments

Comments

@andyl
Copy link
Collaborator

andyl commented Jul 2, 2018

It it difficult to get a developer started with a local copy of Bugmark Exchange.

Goals:

  • reduce time to launch
  • reduce number of instructions
  • reduce configuration errors

Approaches:

  • setup CI for vagrant boxes ( ci1 )
  • test vagrant boxes with linode ( lin1 | lin2 | lin3 )
  • setup cron to re-run CI every night

[ci1] https://circleci.com/blog/how-to-build-immutable-infrastructure-with-packer-and-circleci-workflows/
[lin1] https://www.karlahlers.com/using-vagrant-linode-create-vps-minutes/
[lin2] https://www.linode.com/docs/applications/configuration-management/vagrant-linode-environments/
[lin3] https://github.com/displague/vagrant-linode

@andyl
Copy link
Collaborator Author

andyl commented Jul 15, 2018

I'm considering another approach: distribute the exchange in a docker container. (or series of containers) In the past I was anti-Docker because immature technology, but had another look today and now Docker is looking good. Probably we'd distribute the exchange using Docker-compose, with minimum three containers: 1) the exchange, 2) a postgresql instance, 3) a nats instance.

For this to work, the exchange needs a solid GraphQL layer ( see #87 ). Anyone interested in taking this on?

@GeorgLink
Copy link
Collaborator

GeorgLink commented Jul 16, 2018 via email

@andyl
Copy link
Collaborator Author

andyl commented Jul 16, 2018

After some study - I think we can containerize the exchange and support our current development practices w/o GraphQL. Stay tuned! :-)

@GeorgLink
Copy link
Collaborator

GeorgLink commented Jul 16, 2018 via email

@andyl
Copy link
Collaborator Author

andyl commented Jul 19, 2018

Update: I came to believe that biting the GraphQL bullet now will be most efficient. Have started the implementation. The development sequence is to 1) add GraphQL to the exchange, 2) rewrite the CLI to use GraphQL, 3) rewrite the test_bench UI's to interact via GraphQL, 4) containerize everything. When this is done we can A) write Bugmark bots, webapps and phone apps in any language and B) install a local development environment on mac/linux/windows in less than five minutes and C) delete a lot of old code: RESTFUL API, language bindings, Exchange UI's will all be removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants