Giter VIP home page Giter VIP logo

ragnarok's Introduction

Ragnarok

DEV BUILD MASTER BUILD LICENSE DEPENDENCIES
Build status Build status License Dependencies

Installation guide for Ubuntu 16.04.2 LTS

Make sure the node version is > 7.6.0

node -v
> 7.6.0

Install PostgresSQL

If Postgres is not installed yet, follow these steps. If it is already installed, you should create a new db or use an existing one.

sudo apt-get update
sudo apt-get install postgresql postgresql-contrib

// create postgres user
sudo -i -u postgres
createuser -P --interactive <name>
createdb ragnarok

Install Redis

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:chris-lea/redis-server
sudo apt-get update
sudo apt-get install redis-server

Install required libraries

sudo apt-get install libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++

Update node_modules

sudo is optional on this step but you may run into node-gyp rebuild error.

sudo npm i

Clone settings

cp settings.json.example settings.json
sudo npm install

After you clone the settings, edit them with your connection information. You'll also need to grab your bot token from the discord api page

...
"token": "<token>",
"db":"postgres://<username>:<password>@localhost/commando"
...

Launch Ragnarok

If there is a sequelize error, re-run the start command. The initial "X doesn't exist is normal."

node --harmony Commando.js

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.