Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pistachedev/manager
Official Manager source code!
https://github.com/pistachedev/manager
discord-js manager mysql2 v14
Last synced: 6 days ago
JSON representation
Official Manager source code!
- Host: GitHub
- URL: https://github.com/pistachedev/manager
- Owner: PistacheDev
- License: mpl-2.0
- Created: 2024-10-21T15:37:24.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2025-01-06T18:11:07.000Z (about 1 month ago)
- Last Synced: 2025-01-06T19:27:09.979Z (about 1 month ago)
- Topics: discord-js, manager, mysql2, v14
- Language: JavaScript
- Homepage: https://manager.pistachedev.fr
- Size: 16.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Manager
Official Manager source code!
ONLY PistacheDev is allowed to modificate the .gitignore file!## Required
- Nodejs
- Python (if you want to run some tools like update.py)
- MySQL database.## Run the application
1) Make sure that your database is correctly configured and running.
2) Ensure that your information in the .env file are correct.
3) Make sure that the json/config.json file is properly configured.
4) Run the application with Nodejs:
```sh
node main
```## update.py
The script update.py allows you to update all application dependencies.
You just need to run it and wait until the program has finished.## Database configuration
Refer to the "DATABASE.md" file to set up the database.
Your database must handle MySQL.## json/config.json
The json/config.json file contains the official debug configuration.
For debugging, you can change these settings but you've to revert to the official ones before submitting a pull request.
If you've edited the json/config.json, your pull request will be rejected (except if you changed the version setting).## .env configuration
Create a new file called ".env" in the main folder.
Copy the following text into it and fill in with your information:
``` js
DB_HOST='URL OR IP TO YOUR DATABASE'
DB_DATABASE='DATABASE NAME'
DB_USER='YOUR USERNAME'
DB_PASSWORD='YOUR PASSWORD'
APP_TOKEN='DISCORD BOT TOKEN'
```