-
Notifications
You must be signed in to change notification settings - Fork 150
Feature - setting up development environment #5
base: master
Are you sure you want to change the base?
Conversation
…ny change in files and live-reloading
@calvinashmore Let me know if I should improve my approach further or try it with a better alternative. |
Thanks for your work on this! |
Sure calvin, there definitely exist many ways to do it, I can make some edits to readme to make it more clear. |
wow, that is really interesting |
package.json
Outdated
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/smishr4/bottery.git" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh well, I cloned it from my fork and forgot to put git name when doing npm init
thats why it had my name, I think you are right that it should be google and I should fix it. Let me know if you are sure about that.
c3775aa
to
23eafa6
Compare
Do you make that real? |
@galaxykate, can you let me know what you think of this when you have the chance? |
@calvinashmore Did you get a reply on this? |
Sorry for the slow reply, I was on break last weekend. I'm only a little familiar with Grunt, what do you think it gains the user in the system in this case? One of my issues that I want to fix with the repo-as-it-is is that the IDE and the bot-simulator/FSM code are a bit conflated. I agree that the FSM code (ie, state tracking, blackboard management, and response handling) ought to be broken out into a Node file so that Bottery maps can be run in any environment. This was what happened with Tracery's NPM "port" ) which only required a module export and a few lines to wrap it in a closure. Properly turning Bottery into a separate map-running node library is useful (although tricky and I'm gonna have a go at it myself). But turning the whole IDE requires the user to be running it on a node server. Bottery already loads files asynchronously, which I'm against, because it requires the user to have it running from a local server, at the minimum, which decreases accessibility for very novice users (hard to overstate what a difference it is for a novice running an HTML file vs running a tinyhttpserver or node!) If this is turning Bottery into a production ready environment, then it might be worth doing a fork, so that I can develop Bottery into a more newb-friendly environment, and developers can have something that works with a modern professional workflow (something that I'm not familiar enough with to support). I'm quite political on this, and come from a non-professional software background so I expect disagreement :-) Tracery succeeded by getting non-coders involved, and I'm committed to getting Bottery to that point, too, though it has a long way to go. But that's my commitment, not yours, so I'm not sure which way the "main" repo should go. |
I agree that minimizing the number of dependencies required to get the IDE up and running is a good goal to have. I think it makes sense for the more technical developers to add on whatever development tools they like to their local repositories, while keeping the main repo as unopinionated as possible. Having to Personally, all my development has been done using |
Sometimes you'd find these tools extremely helpful in optimizing your development workflow, simple |
Sorry guys, I only came across this nice sexy package in atom called |
Explanation About What Code Achieves:
TODOs: