Cyberpunk app
installation
To install the program, we just have to download the executable.
Usage
Database connection
This program uses a connection to the ' people ' database. In order to make this connection:
- Download the people database.
- Let's run XAMPP (or its equivalent) and enable Apache and MySQL services.
- Let's go to the link /localhost/phpmyadmin/ to access our databases.
- IMPORTANT: If there is already a database called 'people' we will have to change its name (so that the downloaded program works correctly).
- We click on the 'people' database.
- In the top bar, click Operations .
- In the ' Rename database to ' section, put the new name of the database, and click Go .
- To return to the previous name follow the same steps.
- We create a new BBDD called 'people', and in the upper bar we click on ' Amount '.
- Click on Choose File and choose the downloaded file. Once chosen, click Go and wait for it to finish.
Now we can successfully access the program database.
operation
Once we run the application, we have several options to choose from tables to modify:
- people
- territories
- Capacities
- guilds
Clicking on one of the buttons opens a new window where it shows us the complete table plus the fields and the data of the selected row. From here we can take different actions:
- Select the data we want to see or modify using the direction buttons (
<
and >
) or by clicking directly on a table row.- Once we have selected a row, its data is displayed in text boxes where we can modify it.
- Add a new row with empty data to the DB by clicking the
Afegir
button. This row gets a new ID and once created is displayed as selected in the table. - Modify the data of each row using the text boxes (changes made from the table directly are not synchronized with the DBDD). Once we have written the new values, click the
Actualitzar
button. - Delete the selected row from the DB by clicking the
Esborrar
button. The selected row is completely removed from the database.
Once we have finished viewing or modifying the table, click the x button in the upper right to close this window and return to the initial screen. If we want to close the program completely, we click on the x button from the initial screen. The application window can be moved by clicking anywhere on the background and dragging the mouse to the desired position.