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: 24 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 (30 days ago)
- Default Branch: master
- Last Pushed: 2024-10-24T16:27:45.000Z (27 days ago)
- Last Synced: 2024-10-25T16:57:53.265Z (26 days ago)
- Topics: discord-js, manager, mysql2, v14
- Language: JavaScript
- Homepage: https://manager.pistachedev.fr
- Size: 14.3 MB
- Stars: 1
- 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!## Important
You can contribute to this project!
You've just to update the program and submit a pull request!## 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 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.## config.json configuration
The 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 config.json, your pull request will be rejected.## .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_SECRET='DISCORD BOT SECRET'
APP_TOKEN='DISCORD BOT TOKEN'
JWT='YOUR JSONWEBTOKEN KEY'
```