- Make sure to install Git and git-bash on your computer before proceding on further instructions, Git Install Guide
- Then set up your git account on your system using git-bash terminal.
$ git config --global user.name "Git username"
$ git config --global user.email "used email on your git account"
- Instead of installing PHP, we recommnend to install the XAMPP 8.1.12 or higher version. It is for the Laravel 10 compatability.
- To run and work the PHP on your system you need to PATH it on your environmment variable.
- On your desktop search for System Environment Variable then a modal will pop up.
- Then click the "Environment Variables" button.
- Select the [Path] for User Variables, click Edit, then click New.
- After clicking the New button put this on the input box.
C:\xampp\php
- Reapeat instruction 5-6 but for System Variables Environment, then press ok.
- To verify that PHP is added to your system environment, run the following command in the Command Prompt:
php -v
- Next, download the Composer setup file from the official website.
- Run the downloaded setup file and follow the instructions to complete the installation.
- To verify that Composer is installed, run the following command in the Command Prompt:
composer --version
- First, download the Node.js installer from the official website.
- Run the downloaded installer and follow the instructions to complete the installation.
- Once installed, open the Command Prompt and type the following command to verify that Node.js is installed:
node --version
- Next, open the Command Prompt and type the following command to install Yarn globally on your system:
npm install -g yarn
- This will install Yarn on your system. To verify that Yarn is installed, run the following command in the Command Prompt:
yarn --version
That's it! You have successfully installed Composer and Yarn on your Windows system.
Using git bash(recommended) or any preferred terminal
cd C:/xampp/htdocs
git clone https://github.com/konnichiwaJCCD/DICTr5.git
cd DICTr5
composer install
yarn install
First open your XAMPP file then start the Apache and MySQL service Then your need atleast 2 open terminal pointing to DICTr5 directory
- first terminal:
php artisan serve
- second terminal
yarn dev
Before using this commands you need first to path this on your system environment just like the we did on PHP, add this on your User and System Variable environment
C:\Program Files\Git\bin
- Run this command when you need to push your code into the repository.
yarn git-push
- You need to Enter your commit message to the terminal when a line show like this.
Enter EMOTIONAL commit message:
- when there is a conflict in pushing your code and needed to pull first, theres no need to run the pull command it will automatic pulling from the repository when it detects the error.
- Other error should fix manually.
This command will update your cloned repository from the main together with auto installing the other dependencies such as installing the composer and node packages.
- For just updating your repository from main repo, you need to run this command.
yarn git-pull