The public API is available at: https://cc-tutor-api.herokuapp.com/
The application is available at: https://cc-tutor.herokuapp.com/
A compilation process visualization, interaction system and a compiler construction assistant.
This is the backend of the CC Tutor platform.
In order to locally setup the project, these must be included in your system:
- PHP
- Download and install VirtualBox: https://www.virtualbox.org/wiki/Downloads (used by Vagrant below).
- Download and install vagrant: https://www.vagrantup.com/ . Vagrant provides replicable development environments.
- Composer package manager for PHP: https://getcomposer.org/download/
- Clone the repo with all branches (the project follows git flow branching conventions)
- Run
composer install - In the
.envfile theMAIL_USERNAME,MAIL_PASSWORDandMAIL_FROM_ADDRESSto appropriate values. - The project contains a
Vagrantfilein order to start a Homestead instance (replicable environment):- Run
vagrant upto provision and start the environment
- Run
- Run
vagrant ssh - Run
php artisan migrate:refresh --seed - Run
php artisan passport:installand save the OAuth 2.0 keys in the.envfollowing the.env.exampleformat - Run
php artisan cctutor:installto install the Java backend required for the Compiler Construction Assistant and the assignments. - You're good to go!
To run the tests: phpunit