Skip to content

Portal for facilitating the submission, tracking, and management of documents and forms related to CS 195.

Notifications You must be signed in to change notification settings

ehrelevant/portalis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

773 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS 195 Portal

This repository contains the main project files used for the implementation of a "CS 195 Portal". This project is being developed for the accomplishment of the CS 191/CS 192 subject of the University of the Philippines - Diliman.

Setting up project

Cloning the repository

To get started, first clone the repository to your local device:

# Via ssh
git clone git@github.com:ehrelevant/cs195-portal.git

# Via https
git clone https://github.com/ehrelevant/cs195-portal.git

Important

For the succeeding steps, it is assumed that you are using a Linux environment (i.e. Virtual Machine, Windows Subsystem for Linux) to develop the application.

Installing requirements

To run the project locally, the following tools are required:

  1. php 8.3.x
  2. composer 2.7.x or higher
  3. pnpm 9.12.x or higher

Tip

If you are using a Linux environment, you can use the following convenience script from the Laravel website to quickly install php and composer.

Installing Dependencies

To install the frontend dependencies of the application, run:

# Install frontend project dependencies
pnpm install

To install the backend dependencies, run the following:

# Install backend project dependencies
composer install --ignore-platform-reqs

Running the application

After installing all the dependencies, you may run the application with the following command:

composer run dev

The application will then be available at http://localhost:8000/.

Linting & Formatting

Before pushing or submitting a pull request to the repository, be sure to run the formatters and linters. This is done to ensure that the codebase remains clean and consistent.

# Fix frontend code formatting with Prettier.
pnpm fmt

# Checks code with Prettier & ESLint.
pnpm lint

# Fix backend code formatting with PHP-CS-Fixer.
composer fmt

# Checks code with PHP-CS-Fixer.
composer lint

About

Portal for facilitating the submission, tracking, and management of documents and forms related to CS 195.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •