Files
SANCTUM/README.md
2018-10-16 00:28:47 -05:00

58 lines
2.2 KiB
Markdown

# ![SANCTUM Logo](https://i.imgur.com/yZI3Am9.png) SANCTUM
[![SANCTUM Discord](https://img.shields.io/badge/sanctum-discord-%237289DA.svg?logo=discord)](https://discord.gg/D7dyrVn)
[![SANCTUM Developers](https://img.shields.io/badge/sanctum-developers-%237289DA.svg?logo=discord)](https://discord.gg/mP98ZYv)
# What is SANCTUM?
SANCTUM is an open-source Discord MMO, with 200+ players.
- [Discord Game Invite Link](https://discord.gg/D7dyrVn)
- [Developer's Discord](https://discord.gg/mP98ZYv)
# Run the Bots
## Requirements:
You will need:
- [Node.js](https://nodejs.org/en/) (recommended v8.12.0 LTS)
## Steps
1. Clone the repo.
You can use programs like [Git](https://git-scm.com/), [SourceTree](https://www.sourcetreeapp.com/) or simply download the project, although you won't be able to submit changes as easily.
```bash
git clone https://github.com/TimRuswick/SANCTUM
```
2. Rename the `.envdev` file to `.env`, and fill out tokens and channels.
Make sure you save it, and also don't push any of your tokens here! If you do though, consider them comprimised and then reset them. On Windows, you must give the .env file a name, but you can circumvent it by using a program like [VS Code](https://code.visualstudio.com/) to rename files!
3. Navigate via command-line to a bot's folder, install dependancies, and run it!
Make sure you're in the project folder!
On Windows, you can hold Shift and Right Click the folder to get the option of a command prompt, inside that folder.
```bash
cd "SANCTUM" # Navigate to project folder
npm i # For modules dependancies
cd "A.D.A.M." # Choose a bot
npm i # Install dependancies
node adam.js # Run the bot
```
4. ???
5. Profit! You did it, unless something has happened along the way. ~~Developer luck says yes.~~
## Quality of Life
We recommend [nodemon](https://nodemon.io/) for reloading bots automatically, instead of `Ctrl+C`ing in and out of bots when you need a restart.
# Join the SANCTUM Development Team
We're looking for:
- Discord.js and/or PHP programmers
- Artists
- Writers
- Designers
- Producers
- and Testers!
Join the [SANCTUM Developers](https://discord.gg/mP98ZYv) Discord for more info!