• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Developing for MagicMirror....Where do I start?

Scheduled Pinned Locked Moved General Discussion
2 Posts 2 Posters 1.2k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    JordanArgueta
    last edited by Nov 12, 2018, 8:17 AM

    Hey everyone!

    I have been avoiding this post for a while because I’m a little too embarrassed to ask some of these questions I have regarding the project. I started working on my own magicmirror with a friend as a fun side project to do in between our college assignments. So far we have gotten the magic mirror to run flawlessly on a Pi, added modules, and have even edited some of the scripts. Now that we have done that we want to take it a little further but we are getting stuck on probably the most simple part…

    We cannot get the program to run on our local. We do not know the best practice for making modules or just editing the software and so we thought it would be smart to develop on our computers rather than on the Pi. However, we have no clue how to get this thing to run properly on our locales. Currently, we are trying to use webstorm as our IDE but we cannot get anything to work. So here I am with some damaged pride and a lot of beginner questions:

    What is your tech stack for developing for this project?
    Whats the proper way to make new modules?
    If you use webstorm how did you get this project to run on your local? (Please answer this like I’m tech illiterate. I’m obviously missing something so too many details could be a big help!)
    If you use some other IDE or just use something simpler walk me through your process for creating, running, and testing your new scripts?

    Thank you in advance and feel free to just throw links to other resources! It’s one of those instances where I am not sure what questions I want to ask so any direction would be super helpful.

    ? 1 Reply Last reply Nov 12, 2018, 8:59 AM Reply Quote 0
    • ? Offline
      A Former User @JordanArgueta
      last edited by A Former User Nov 12, 2018, 9:05 AM Nov 12, 2018, 8:59 AM

      @jordanargueta said in Developing for MagicMirror....Where do I start?:

      • What is your tech stack for developing for this project?

      Experiences about HTML, CSS, Javascript(Or NodeJS), *nix

      • Whats the proper way to make new modules?

      Copy other’s module and research it how it works.

      See
      https://github.com/MichMich/MagicMirror/blob/master/modules/README.md
      https://forum.magicmirror.builders/topic/8534/head-first-developing-mm-module-for-extreme-beginners

      • If you use webstorm how did you get this project to run on your local? (Please answer this like I’m tech illiterate. I’m obviously missing something so too many details could be a big help!)

      I’m not using webstorm. anyway, you should install nodejs on your computer first. Then install MagicMirror like you did on RaspberryPi.
      I think *nix machine (Debian/Ubuntu) is good for development, Personally, I develop my modules on Mac OSX. But you can do it on your Windows Powershell.

      • If you use some other IDE or just use something simpler walk me through your process for creating, running, and testing your new scripts?

      Usually I’m using atom or vim, sublimeText and textWrangler. I don’t care whatever IDE.
      In my case, I begin from creating git Repository with module name. Then clone it to my workspace (under MM directory where is installed on your dev-machine). Copy some template files from my previous work or You can use https://github.com/roramirez/MagicMirror-Module-Template

      Or just create file named with MMM-BlahBlah.js.
      Then doing coding, testing, making manual, then updating git repository. Then release here.

      1 Reply Last reply Reply Quote 2
      • 1 / 1
      1 / 1
      • First post
        1/2
        Last post
      Enjoying MagicMirror? Please consider a donation!
      MagicMirror created by Michael Teeuw.
      Forum managed by Sam, technical setup by Karsten.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy