Redume / shika

Discord-бот для управления блогами

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Установка бота

Для установки нужен минимум NodeJS 16.9.0, а так же рекомендуется использовать PostgreSQL 14.4

  1. Установите необходимые модули.
$ npm i
  1. Зайдите в пользователя базы данных PostgreSQL.
$ psql -U <DATABASE_USERNAME>
  1. Создайте базу данных.
$ CREATE DATABASE <DATABASE_NAME>;
  1. Подключитесь к базе данных.
$ \connect <DATABASE_NAME>;
  1. Создайте таблицы, они находятся тут

  2. Запустите бота.

$ node .

Лицензия

Copyright 2022 Redume

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Discord-бот для управления блогами

License:Apache License 2.0


Languages

Language:JavaScript 100.0%