Website to manage recourses in a university
Dashboard recours is a website that can manage recourses concerning IT department in a univerity!
PHPversion 5 is required
- Run this to clone this repo and make
./scriptcommand executable:
$ git clone https://github.com/nemo256/DashRecours
$ cd DashRecours
$ chmod +x script.sh- This will generate the database with its tables and populate them:
$ ./script.sh -u [MYSQL-username] -p [MYSQL-password] -d [DB-NAME]- Launch a local server on PORT 3000 (run as
sudofor superuser privileges):
$ sudo php -S localhost:3000- For more informations run:
$ ./script.sh -hNOTE: if [DB-NAME] is not specified 'PFE' is the default value!
$ sudo ./script.sh -d [DB-NAME]- A
Studentcan add, update, remove a recourse. - A
Teachercan validate, refuse a recourse, - An
Administratorcan manageStudentsandTeachers.
For linux users that may have to change ownership of this project for files and images to be uploaded correctly!
$ sudo chown -R www-data:www-data [PATH-TO-DIR]/DashRecoursPlease make sure you have mysql running on your computer before running (./script.sh):
$ mysql -u [USERNAME] -p[PASSWORD]
$ mysql --help # If any problem occures running the command above.