This repository has been archived on 2026-04-21. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Project_BDE/README

41 lines
1.3 KiB
Text

This repo is hosting the *Base D'etudes Etudiantes* project.
More info in **the future.**
## CONFIG
Apache related config can be found under the conf/ directory (template under
skel/conf/).
Website config of PHP (database access, ...) can be made in the
www/src/lib/PHP/*/config.php files.
## BUILDING
You will need Apache HTTPD Webserver configured with the PDO, PHP cgi,
sessions modules.
Start by running the setup.sh file to setup the files.
Add the file conf/httpd-vhosts.conf to your httpd.conf vhosts included files
with the line :
```
Include "C:/PATH_TO_PROJECT_ROOT_/conf/httpd-vhosts.conf"
```
now modify as well this httpd-vhosts.conf "documentroot" attribute with your server location.
Import the *src/db/setup/initial_setup.sql* file into your dbms of choice.
Review the db connection settings furnished in
*www/src/lib/PHP/db_connection/config.php*.
## INITIAL SETUP
By default, the initial_sql file will setup the database with dummy values.
If you do not want that, rather import the setup.sql file.
If you only need the value, import the initial_fill.sql file.
The database is filled with five default users:
agabriel, administrator ; LAW, administrator ; Rell, moderator ; JC, reviewer;
Kilook, contributor.
Their default password are 'There is no password.'.
It is the same password for the db accounts.