The public-facing website prototype for Woodlands University College - a theoretical higher education institute based in the UK. Woodlands UC was the client for our second-year university group project module. This codebase, as well as the designs for the website, were my main contribution to the project.
This project is built using my lightweight, custom PHP framework CupOfPHP.
This website focuses on providing accessible and responsive content to many users be it visitors, prospectus students, donors/stakeholders, researches/academics, existing staff and students.
This website was deployed using Docker on Digital Ocean.
To run this website I'm using a pre-built/configured virtual machine available through Vagrant. The box and details about it can be found at https://r.je/vje-minimal-virtual-server.
- Install Virtual Box, Vagrant, MySQL Workbench, Composer and Git.
- In your terminal application, navigate to an empty directory and run vagrant init
csy2028/current
- Run
vagrant up
- Open MySQL Workbench and create a new connection using the DB information below
- Back in the terminal application, navigate inside
websites
and rungit clone git@github.com:jenewland1999/csy2027_as1 woodlands-uc
- Now run
cd woodlands-uc
followed bycomposer install
- Import database.sql into MySQLWorkbench (Ensure schema is called wuc)
- Open your web browser of choice and type
https://woodlands-uc.v.je/
- Ta-da! Woodlands UC is running.
- Host: v.je
- Port: 3306
- Username: v.je
- Password: v.je
- Host: v.je
- Username: vagrant
- Password: vagrant
This project uses PHPUnit to perform automated unit testing.
To run the unit tests open your favourite terminal program in the project directory and run the following command:
./vendor/bin/phpunit --coverage-html=./report
To view the coverage report open ./report/index.html
in your favourite web browser.
© 2020 Jordan Newland