Skip to content

hostmane/Ark

 
 

Repository files navigation

Project icon

ARK

SpaceX data bot

Version badge Docs Link Add to discord

Discord Bot for viewing SpaceX events, rockets, launch events and more!

Developing and running

Local machine

Clone this repository on your machine and change to its root directory:

$ git clone https://github.com/brunolcarli/Ark.git
$ cd Ark

Create a .env on the root and add the TOKEN you get from discord developers protal:

TOKEN=<your_test_bot_token>

Initialize a python virtual environment (advanced):

$ mkvirtualenv ark
$ workon ark

Install requriements through Makefile:

$ (ark) make install

If you are running Windows install requirements with pip:

> pip install -r requirements/development.txt

Run the bot with:

$ make run

or on windows:

> python3 main.py

Running with docker

First of all make sure you have docker installed on your machine:

$ docker --version
Docker version 20.10.2, build 2291f61

If you dont have docker installed go to Docker website and find out how to install a distribution for your operating system.

Create a file named ark_env in ark/environment/ and add yout bot token

TOKEN=<your_bot_token>

Install docker-compose

$ pip install docker-compose

Then:

$ docker-compose build && docker-compose up -d

About

SpaceX data bot

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.3%
  • Dockerfile 2.0%
  • Makefile 0.7%