Skip to content

HZ-HBO-ICT/ctc

Repository files navigation

Logo of the project

CasusToetsCopy (ctc)

Copies all the relevant folders from one specific student repository folder to a base project folder and resets the app so that the students elaboration can be tested.

Features

What's all the bells and whistles this project can perform?

  • Resets the project folder to HEAD in git
  • Pulls latest code from student repository
  • Copies app, database, resources and other relevant folders
  • Regenerates autoload files
  • Drop database tables and performs migration and seed
  • Clears compiled views

Installation

Make sure the base repository of the casustoets project is correctly set up with Laravel Sail.

Clone this repo anywhere on your harddrive

Create a .env file in the same path. You can use the .env.example file. Chage settings to the correct ones.

Linux/WSL2

Do not forget to chmod the .sh files

> chmod +x ./*.sh

Usage

Windows

Open a cmd in the folder where ctc.bat is located, and type:

> ctc student-repo-folder-name

Linux/WSL2

Open the terminal in the folder where ctc.sh is located, and type:

> ./ctc.sh -lf student-repo-folder-name

Authors

  • Daan de Waard - Initial work - dwaard

See also the list of contributors who participated in this project.

Licensing

The code in this project is licensed under MIT license.

Releases

No releases published

Packages

No packages published