12/24/2023 0 Comments Guns of glory rss botWith HomeBrew installed you can now type out the following in a terminal window: brew install node Homebrew/install/master/install)" Installing node To get HomeBrew installed just copy and paste the line below in a terminal window: ruby -e "$(curl -fsSL …and you have node running! But first we need to get HomeBrew installed and running. For installing node you can simple type out… brew install node It makes installing various other bits of software on your mac very easy. HomeBrew is the “package manager that mac forgot”. It also provides you with all the tools you need to compile software for use on a mac. XCode allows you to build mac and ios apps. I ultimately found that I needed to install XCode and HomeBrew which would then allow me to get node up and running quickly. Node pre-requisites for macĪs I started my journey for getting node up and running I bumped over a few articles. Let’s start by getting node up and running. Taking your client side javascript skills to the server makes a lot of sense. This then led me to finding a slack SDK for node. I was most interested to get my hands dirty with node which ultimately led me down this path. There are many pluralsight videos that take you deep into each of these technologies. It is intended to get you touching all of these concepts just enough that they are no longer scary unknown topics. This post is “just enough” to scratch the surface. How to push your docker container over to a bot host.How to push all of this into a docker container.How to write some simple node (javascript) and test it locally.How to use the basics of NPM for node package management.How to install node on a mac (will point to windows how-too).But first we have to get the plumbing working. I figured we might instead build a simple weather bot using the weather underground. My bot got way more complex (code wise) than is needed for this discussion. I ended up creating a FitBot that gives you a random exercise to do every hour. This took me down an interesting path as I tried to fit all these things together to make something small but useful. I ended up finding botkit (a node based slack integration) and set off building something simple with the intent of hosting it in Docker. I decided to make a slack bot (easy to do) so that the problem being solved didn’t require additional learning (making bots is fun). Recently I have needed to dig deeper into node and docker. Building a slack bot with botkit node and docker Andrew Siemer - 14 April, 2016.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |