chariot.js
Version:
An extremely lightweight and extensible Eris client framework
1 lines • 3.6 kB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[34],{221:function(t,e,i){"use strict";i.r(e);var n=i(0),a=Object(n.a)({},(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"content"},[t._m(0),t._v(" "),t._m(1),t._v(" "),t._m(2),t._v(" "),t._m(3),t._v(" "),i("div",{staticClass:"tip custom-block"},[i("p",{staticClass:"custom-block-title"},[t._v("IMPORTANT")]),t._v(" "),i("p",[t._v("Don't forget the "),t._m(4),t._v(" flag when running the installation! Forgetting to provide this flag will initiate a full installation including all optional native dependencies which require a "),i("router-link",{attrs:{to:"./prerequisites.html"}},[t._v("working compiler toolchain")]),t._v(" to succeed!")],1)]),t._v(" "),t._m(5),t._v(" "),t._m(6),t._v(" "),t._m(7),t._v(" "),i("p",[t._v("You are now able to create a super powerful bot with Chariot.js as its core handling all the complex stuff for you and dive into the wonderful world of creating extremely powerful, performant, highly extensible and scalable bots with Eris!")])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("h1",{attrs:{id:"installation"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#installation"}},[this._v("#")]),this._v(" Installation")])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",[this._v("Chariot.js can either be installed without optional native dependencies for a super simple and quick setup without meeting any prerequisites or with all optional native dependencies which drastically enhance performance on "),e("em",[this._v("very large")]),this._v(" bots.")])},function(){var t=this.$createElement,e=this._self._c||t;return e("h2",{attrs:{id:"without-optional-dependencies"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#without-optional-dependencies"}},[this._v("#")]),this._v(" Without optional dependencies")])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",[this._v("Installing Chariot.js without any optional dependencies is as easy as initializing a new npm project by running "),e("code",[this._v("npm init")]),this._v(" followed by "),e("code",[this._v("npm install chariot.js --no-optional")]),this._v(" in a terminal or command line of your choice.")])},function(){var t=this.$createElement,e=this._self._c||t;return e("strong",[e("code",[this._v("--no-optional")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("h2",{attrs:{id:"with-optional-dependencies"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#with-optional-dependencies"}},[this._v("#")]),this._v(" With optional dependencies")])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("p",[t._v("If all prerequisites are met for compiling all optional dependencies, installing Chariot.js is as easy as initializing a new npm project by typing "),i("code",[t._v("npm init")]),t._v(" and running "),i("code",[t._v("npm install chariot.js")]),t._v(". If you are using a version of npm lower than 4.5 "),i("em",[t._v("(you shouldn't)")]),t._v(" run following command instead which saves Chariot.js as a dependency in your "),i("code",[t._v("package.json")]),t._v(" file: "),i("code",[t._v("npm install chariot.js --save")]),t._v(". This will install the latest stable version of Chariot.js into your freshly created project.")])},function(){var t=this.$createElement,e=this._self._c||t;return e("h3",{attrs:{id:"❤️-that-s-it"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#❤️-that-s-it"}},[this._v("#")]),this._v(" ❤️ That's it!")])}],!1,null,null,null);e.default=a.exports}}]);