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
.env
file theMAIL_USERNAME
,MAIL_PASSWORD
andMAIL_FROM_ADDRESS
to appropriate values. - The project contains a
Vagrantfile
in order to start a Homestead instance (replicable environment):- Run
vagrant up
to provision and start the environment
- Run
- Run
vagrant ssh
- Run
php artisan migrate:refresh --seed
- Run
php artisan passport:install
and save the OAuth 2.0 keys in the.env
following the.env.example
format - Run
php artisan cctutor:install
to install the Java backend required for the Compiler Construction Assistant and the assignments. - You're good to go!
To run the tests: phpunit