Projet de ressources étudiantes pour les étudiants, par les étudiants. En cours de maturation...
I discovered that you exit of php mode in includes when you explicitly never start it. Neat. |
||
|---|---|---|
| app | ||
| doc | ||
| skel | ||
| src/db | ||
| www | ||
| .gitignore | ||
| README | ||
| setup.sh | ||
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.