<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>js | rael.io</title><link>https://rael.io/tags/js/</link><atom:link href="https://rael.io/tags/js/index.xml" rel="self" type="application/rss+xml"/><description>js</description><generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator><language>en-us</language><copyright>Fork me on [GitHub](https://github.com/raelga/rael.io)</copyright><lastBuildDate>Sat, 24 Mar 2018 11:23:56 +0200</lastBuildDate><image><url>https://rael.io/img/photos/emma-hello-card.jpg</url><title>js</title><link>https://rael.io/tags/js/</link></image><item><title>game.pkts.es</title><link>https://rael.io/project/game.pkts.es/</link><pubDate>Sat, 24 Mar 2018 11:23:56 +0200</pubDate><guid>https://rael.io/project/game.pkts.es/</guid><description>
&lt;p&gt;Static site for a videogame made with RPG Maker about the pkts community, full of inside jokes.&lt;/p&gt;
&lt;h1 id=&#34;site-for-pkts-the-game&#34;&gt;Site for pkts | The Game&lt;/h1&gt;
&lt;p&gt;&lt;a href=&#34;https://game.pkts.es&#34; target=&#34;_blank&#34;&gt;https://game.pkts.es&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;about&#34;&gt;About&lt;/h2&gt;
&lt;p&gt;The webpage uses &lt;a href=&#34;https://templated.co/theory&#34; target=&#34;_blank&#34;&gt;Templated Theory Site Template&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The clock uses &lt;a href=&#34;https://github.com/wimbarelds/TimeCircles&#34; target=&#34;_blank&#34;&gt;wimbarelds/TimeCircles&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;run&#34;&gt;Run&lt;/h2&gt;
&lt;p&gt;The website can be deployed with docker at localhost:8080 using the makefile targets:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Deploy&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;make run
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Will build a container image from &lt;code&gt;nginx:latest&lt;/code&gt; with the docs folder copied as nginx document root.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Develop&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;make dev
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Will build a container image from &lt;code&gt;nginx:latest&lt;/code&gt; with the docs folder mounted to nginx document root.&lt;/p&gt;</description></item><item><title>TS Invaders</title><link>https://rael.io/project/tsinvaders/</link><pubDate>Sat, 10 Jun 2017 11:23:56 +0200</pubDate><guid>https://rael.io/project/tsinvaders/</guid><description>
&lt;p&gt;&lt;a href=&#34;https://travis-ci.org/raelga/tsinvaders&#34; target=&#34;_blank&#34;&gt;&lt;img src=&#34;https://travis-ci.org/raelga/tsinvaders.svg?branch=master&#34; alt=&#34;Build Status&#34; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Yet another spaces invaders clone, this time in TypeScript using Phaser.io.&lt;/p&gt;
&lt;h2 id=&#34;references&#34;&gt;References&lt;/h2&gt;
&lt;p&gt;Phaser.io framework from @photonstorm &lt;a href=&#34;https://github.com/photonstorm/phaser&#34; target=&#34;_blank&#34;&gt;Github&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;art&#34;&gt;Art&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Player explosion sprite from J-Robot &lt;a href=&#34;https://opengameart.org/users/j-robot&#34; target=&#34;_blank&#34;&gt;OpenGameArt&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Rest of the graphic art is from &lt;a href=&#34;https://twitter.com/whiskyemms&#34; target=&#34;_blank&#34;&gt;@whiskyemms&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Hubot Raelbot</title><link>https://rael.io/project/hubot-raelbot/</link><pubDate>Sun, 16 Aug 2015 11:23:56 +0200</pubDate><guid>https://rael.io/project/hubot-raelbot/</guid><description>
&lt;p&gt;&lt;strong&gt;raelbot&lt;/strong&gt; is a chat bot built on the Hubot framework.&lt;/p&gt;
&lt;h3 id=&#34;running-raelbot-locally&#34;&gt;Running raelbot Locally&lt;/h3&gt;
&lt;p&gt;You can test your hubot by running the following, however some plugins will not
behave as expected unless the &lt;a href=&#34;#configuration&#34;&gt;environment variables&lt;/a&gt; they rely
upon have been set.&lt;/p&gt;
&lt;p&gt;You can start raelbot locally by running:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;% bin/hubot
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You&amp;rsquo;ll see some start up output and a prompt:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;[Sat Feb 28 2015 12:38:27 GMT+0000 (GMT)] INFO Using default redis on localhost:6379
raelbot&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Then you can interact with raelbot by typing &lt;code&gt;raelbot help&lt;/code&gt;.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;raelbot&amp;gt; raelbot help
raelbot help - Displays all of the help commands that raelbot knows about.
...
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&#34;persistence&#34;&gt;Persistence&lt;/h2&gt;
&lt;p&gt;If you are going to use the &lt;code&gt;hubot-redis-brain&lt;/code&gt; package (strongly suggested),
you will need to add the Redis to Go addon on Heroku which requires a verified
account or you can create an account at &lt;a href=&#34;https://redistogo.com/&#34; target=&#34;_blank&#34;&gt;Redis to Go&lt;/a&gt; and manually
set the &lt;code&gt;REDISTOGO_URL&lt;/code&gt; variable.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;% heroku config:add REDISTOGO_URL=&amp;quot;...&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If you don&amp;rsquo;t need any persistence feel free to remove the &lt;code&gt;hubot-redis-brain&lt;/code&gt;
from &lt;code&gt;external-scripts.json&lt;/code&gt; and you don&amp;rsquo;t need to worry about redis at all.&lt;/p&gt;
&lt;h2 id=&#34;adapters&#34;&gt;Adapters&lt;/h2&gt;
&lt;p&gt;Adapters are the interface to the service you want your hubot to run on, such
as Campfire or IRC. There are a number of third party adapters that the
community have contributed. Check &lt;a href=&#34;https://github.com/github/hubot/blob/master/docs/adapters.md&#34; target=&#34;_blank&#34;&gt;Hubot Adapters&lt;/a&gt; for the
available ones.&lt;/p&gt;
&lt;p&gt;If you would like to run a non-Campfire or shell adapter you will need to add
the adapter package as a dependency to the &lt;code&gt;package.json&lt;/code&gt; file in the
&lt;code&gt;dependencies&lt;/code&gt; section.&lt;/p&gt;
&lt;p&gt;Once you&amp;rsquo;ve added the dependency with &lt;code&gt;npm install --save&lt;/code&gt; to install it you
can then run hubot with the adapter.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;% bin/hubot -a &amp;lt;adapter&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Where &lt;code&gt;&amp;lt;adapter&amp;gt;&lt;/code&gt; is the name of your adapter without the &lt;code&gt;hubot-&lt;/code&gt; prefix.&lt;/p&gt;
&lt;h3 id=&#34;deploying-to-unix-or-windows&#34;&gt;Deploying to UNIX or Windows&lt;/h3&gt;
&lt;p&gt;If you would like to deploy to either a UNIX operating system or Windows.
Please check out the &lt;a href=&#34;https://github.com/github/hubot/blob/master/docs/deploying/unix.md&#34; target=&#34;_blank&#34;&gt;deploying hubot onto UNIX&lt;/a&gt; and &lt;a href=&#34;https://github.com/github/hubot/blob/master/docs/deploying/unix.md&#34; target=&#34;_blank&#34;&gt;deploying
hubot onto Windows&lt;/a&gt; wiki pages.&lt;/p&gt;</description></item></channel></rss>