Projet de ressources étudiantes pour les étudiants, par les étudiants. En cours de maturation...
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.
Find a file
smithi_3000 077b1e1e27 Modified included messages file to plain html.
I discovered that you exit of php mode in includes when you explicitly
never start it. Neat.
2025-12-08 09:37:39 +01:00
app Removed unecessary files. 2025-11-09 15:16:03 +01:00
doc Added planned sitemap desc. 2025-11-16 13:10:15 +01:00
skel Changed server config to dissalow acess to www/lib/ and generate log 2025-11-16 00:39:58 +01:00
src/db Fixed the password hash lenght in db. 2025-11-11 18:08:37 +01:00
www Modified included messages file to plain html. 2025-12-08 09:37:39 +01:00
.gitignore Changed server config to dissalow acess to www/lib/ and generate log 2025-11-16 00:39:58 +01:00
README Updated README for up to date info. 2025-11-13 12:15:16 +01:00
setup.sh Changed server config to dissalow acess to www/lib/ and generate log 2025-11-16 00:39:58 +01:00

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.