Skip to content
This repository has been archived by the owner on Aug 20, 2023. It is now read-only.

Getting Started

BluLupo edited this page Aug 27, 2022 · 28 revisions

Getting Started There are two ways to install Nebula: with Docker and without.

Without Docker

Requirements:

  • python 3.7+
  • MariaDB or MySQL
  • Redis
  • pip

Installation With Linux:

.ENV EXAMPLE:

https://github.com/Squirrel-Network/nebula8/blob/master/.env.example

  • Start with the command python3 main.py

With Docker

  • Clone the repository git clone https://github.com/Squirrel-Network/nebula8.git

  • cd /nebula8

  • docker build . -t nebula:v8.6

  • docker run -d -e TOKEN='YOURTOKEN' -e MYSQL_HOST='localhost' -e MYSQL_PORT=3306 -e MYSQL_USER='root' -e MYSQL_PASSWORD='YOURPASSWORD' -e MYSQL_DBNAME='nebula' -e REDIS_HOST='localhost' -e REDIS_PORT='6379' -e REDIS_PASSWORD='YOUR PASSWORD' -e TG_DEFAULT_WELCOME='Welcome {} to the {} group' -e TG_DEFAULT_RULES='https://github.com/Squirrel-Network/GroupRules' -e TG_DEFAULT_LOG_CHANNEL=-100123456789 -e TG_DEFAULT_STAFF_GROUP=-100123456789 -e DEV_CHAT_ID=-1001267698171 -e OPENWEATHER_TOKEN='YOURTOKEN' --name nebula nebula:v8.6


With Docker + Portainer + Swarm

WIP