These are chat archives for jescalan/roots

19th
May 2016
c|-|o
@forktheweb
May 19 2016 22:40
@jenius I've worked the past few days on improving the docs. let me know if this makes more sense: https://github.com/forktheweb/dockistry
@jenius also to clarify: the project is a major WIP and right now I've simply got a registry of components https://labs.stackfork.com:2003/explore/projects/starred
@jenius and several CLI(s), some of which are not on GH but are mostly being aggregated here: https://github.com/dockistry/devtools-multi-clis
I'm building a single page app (SPA) that will essentially let you browse the registry, and install components or strategies that have been crafted for use locally or in production environments
and it pre-installs boilerplates crafted for specific use cases
Jeff Escalante
@jescalan
May 19 2016 22:45
how is this different from docker's own registry
c|-|o
@forktheweb
May 19 2016 22:45
developer tooling is provided alongside it
and it's designed to set up actual clusters and formations on amazon/google clouds
Jeff Escalante
@jescalan
May 19 2016 22:46
have you considered breaking it down into several smaller tools with single purposes?
at first look it seems to me like you are trying to push everything into one project
c|-|o
@forktheweb
May 19 2016 22:47
yes I am doing that. essentially I break down each container like this: https://labs.stackfork.com:2003/explore/groups
Jeff Escalante
@jescalan
May 19 2016 22:47
i mean like one tool for installing developer tools
Jeff Escalante
@jescalan
May 19 2016 22:47
one for setting up deployments on aws/google
and then just use the default docker registry
c|-|o
@forktheweb
May 19 2016 22:48
yeah I'm breaking it down as "infrastructure", "devtools". Within devtools there are multiple CLI(s). windows 10 powershell, linux, darwin
Jeff Escalante
@jescalan
May 19 2016 22:49
excuse if these are bad questions as i have not worked with docker extensively
but dont those systems already have CLIs?
c|-|o
@forktheweb
May 19 2016 22:49
docker is great for linux/ubuntu but doesn't work on bsd and is not simple to get running on windows that easily either
most windows developers aren't running docker containers for their devtools
Jeff Escalante
@jescalan
May 19 2016 22:49
so why would you want to run it on bsd or windows?
instead of just using ubuntu
considering you have the choice when you are setting up hosting
c|-|o
@forktheweb
May 19 2016 22:50
I'm not saying windows server... developers often use windows locally
or linux desktop/mac locally
and I'm trying to use native tooling for those
Jeff Escalante
@jescalan
May 19 2016 22:51
so i am on a mac now
what tooling am i missing
out of the box
c|-|o
@forktheweb
May 19 2016 22:51
an example of one of the first strategies I'm working on building is
angular 1.4, with e2e meaning you can build the same codebase into an electron app or use ionic to build it into a mobile app
my guess is you do not have the node-gyp stuff installed
but that would be one of the main considerations for my tooling and how it's set up
because that stuff fails a lot when building E2E apps
Jeff Escalante
@jescalan
May 19 2016 22:52
i guess im still a little confused about the purpose of this
im usually looking for small tools that are good at one specific thing
like if you have a tool that lets you take once codebase and deploy it to web, desktop, and mobile through X
i understand the purpose of that
if you have a tool for provisioning developer machines with tools needed to run docker, ok i get that
(but i think docker installers already exist)
it seems like you are biting off a lot here
c|-|o
@forktheweb
May 19 2016 22:54
the purpose of dockistry is simple: provide a roadmap for developers for local tooling and production environment setup.
Jeff Escalante
@jescalan
May 19 2016 22:55
that still means nothing to me, as a developer
c|-|o
@forktheweb
May 19 2016 22:55
you are right it's super overwhelming to most people
fullstack is a lot of tools. too many tools
nobody has thought about the bigger picture
Jeff Escalante
@jescalan
May 19 2016 22:55
i dont really have a lot of tools for full stack
c|-|o
@forktheweb
May 19 2016 22:56
what tools do you use?
Jeff Escalante
@jescalan
May 19 2016 22:56
it depends
lets say im using heroku
i'll use git/github to work on the app
with node
then push to heroku
done
lets say im using a digital ocean box
c|-|o
@forktheweb
May 19 2016 22:56
but are you using that app to build native mobile and desktop apps too?
Jeff Escalante
@jescalan
May 19 2016 22:56
i'll use git/github/node locally
c|-|o
@forktheweb
May 19 2016 22:56
or just websites
Jeff Escalante
@jescalan
May 19 2016 22:56
use this thing to deploy: https://github.com/visionmedia/deploy
and then use nginx on the DO box
im working on a desktop app right now
using electron, running it locally
when im ready to roll it out, i'll use electron's packager
i dont feel like im missing anything
havent needed to build a mobile app yet, but if i did, i'd probably try using swift for this
or maybe cordova
if i need the same data shared with a website, app, and desktop app, thats what APIs are for
c|-|o
@forktheweb
May 19 2016 23:00
right. I'm essentially building this to make it easy for people to shop boilerplates that achieve e2e with various frameworks.
and for various purposes
Jeff Escalante
@jescalan
May 19 2016 23:00
so is there any reason you can't just have a list
with categories
c|-|o
@forktheweb
May 19 2016 23:00
when I push any of these apps into production, the container it runs in is just the webserver of my choice and it's reverse-proxied auto-ssl in a rancher setup
Jeff Escalante
@jescalan
May 19 2016 23:01
maybe i just dont know enough about docker to get whats happening here
c|-|o
@forktheweb
May 19 2016 23:01
that's what I'm moving towards... this is what makes up each strategy:
each strategy is a crafted thing.
an example: angular 1.4 -> strongloop api with arc -> windows tooling -> prouction at aws rancher in a docker.
database: rethinkdb
boilerplate: CRM
Jeff Escalante
@jescalan
May 19 2016 23:02
arent there essentially an infinite number of these combinations?
c|-|o
@forktheweb
May 19 2016 23:03
yes. but each are just certain types of components.
so they can be switched out.
all of the stacks are just docker-composed webservers
Jeff Escalante
@jescalan
May 19 2016 23:03
API framework, frontend framework, static site generator, production hosting, local setup
c|-|o
@forktheweb
May 19 2016 23:03
that can contain attachments like postgre/citus
or mysql
or whatever
Jeff Escalante
@jescalan
May 19 2016 23:04
and database
c|-|o
@forktheweb
May 19 2016 23:04
right
Jeff Escalante
@jescalan
May 19 2016 23:04
database, api, static gen is all you actually need
front end framework is optional
c|-|o
@forktheweb
May 19 2016 23:04
for local, I'm using a fake rest api
or rethinkdb
Jeff Escalante
@jescalan
May 19 2016 23:04
production hosting is its own category
c|-|o
@forktheweb
May 19 2016 23:04
yeah. you are probably right
Jeff Escalante
@jescalan
May 19 2016 23:04
really static gen is all you need
Jeff Escalante
@jescalan
May 19 2016 23:05
then if you need an api, you can add this with a database
or you can use a service that exposes an api and a CMS instead of building your own
c|-|o
@forktheweb
May 19 2016 23:05
yeah, that's the direction I'm headed. I was gonna use sprout to assist with the production CLI actually
yeah I have a tie in for wp-json-api integration already
Jeff Escalante
@jescalan
May 19 2016 23:06
well either way im sure this will be a good project
if nothing else to learn a ton from
c|-|o
@forktheweb
May 19 2016 23:06
I had written an extjs app to integrate with the wp-api and pull dynamic metadata from custom post types https://labs.stackfork.com:2003/cho/rex-pub
so that was one of the things I'd probably add in the api list
I was also gonna have php-crud-api
and htsql
Jeff Escalante
@jescalan
May 19 2016 23:07
why are you adding all this stuff though?
dont you have a single stack you prefer?
why not a single solution for your own preferred stack that's really super solid
c|-|o
@forktheweb
May 19 2016 23:08
well the wordpress stuff is just there because I know I will encounter people who will need to integrate with it, and I have many existing clients who use wordpress sites that aren't dockerized.. so I needed to finalize a solution for migrating them,
I prefer using either rethinkdb or citus with sharding or both as the database. I haven't decided my preferred framework
I haven't used them all enough yet. I come from an exjs / sencha backgroun
so part of the rationale behind the project was that I was trying to learn each framework
Jeff Escalante
@jescalan
May 19 2016 23:09
:+1:
c|-|o
@forktheweb
May 19 2016 23:15
have you ever used http://rancher.com/?