Jaycp.app is designed to work with a MySQL database. To connect the app to a database, you need to edit .env file in the root directory of the app. This file should contain the following information:
Insert the connect information for the MTA:SA server database here.
Jaycp.app requires a seperate database to store data. Create the database by running this command in a mysql terminal.
Once the database is created, you need to create its tables. You can import these from the attached .sql file or run the following commands:
This table is used to store the configuration of the app.
This table is used to store name requests.
TODO:insert def news
This table is used to store news.
This table is used to store serial requests.
This table is used to store password reset requests.
After creating the tables, you edit .env file in the root directory of the app and insert the jaycp.app database information. This file should contain the following information: