Starting the mirror application from atom

Start the smart mirror from the atom IDE.

Advertisements

Now that we’ve got the application running, it might be handy to be able to start the application from inside the atom editor instead of having to keep a terminal window open.

Luckily atom is a very hackable, extensible editor.  In fact there are tons of packages you can install as add-ons for atom.  Feel free to browse them on this website :

https://atom.io/packages

Installing them is really easy.

Open atom, load the “Smartmirrorproject” project, and go to the preferences in the menu.  This opens up a new tab inside atom.  It looks about like the screenshot below.  In the screenshot you can see that I selected the “Install” option, and i’ve already searched for a package called “atom-terminal-panel”.

Do the same, and click “Install”.

Schermafbeelding 2017-01-04 om 22.46.22.png

After doing so, you will see a small “+” icon at the bottom of the screen.

Schermafbeelding 2017-01-04 om 22.52.12.png

Click it, and a new panel will open.  Here you can enter various commands.

Try by navigating to the Smartmirrorproject project using the “cd” command (on my computer : )

cd /GitHub/Smartmirrorapplication/

and starting the application by typing

npm start

Should work like a charm.

Not that this terminal package is very powerful.  You can open up multiple terminals and do some powerful things.  Just browse the available commands using the button in the panel.

While I was at it, I chose to change the theme as well.  Themes can be divided into 2 separate things : the theme of the user interface (UI), meaning the way the screens and windows look.  And the syntax UI : the colour scheme of the text.  You can also find it in the preferences.  Feel free to fiddle around…

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s