Skip to content

Aberdeen Registers Online (ARO) search tool web application project

Notifications You must be signed in to change notification settings

GroupLima/SAR-Repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SAR-Project

New Search Aberdeen Registers (SAR) search tool web application project
A modernised, maintainable version of sar.abdn.ac.uk
Project implementation seen at sar2.andreasmaita.com
We are going to get an A1!!
☆*: .。. o(≧▽≦)o .。.:*☆

Team Lima

Developers: Caitlin Thaeler, Piotr Smialek, Holly Sinclair, Andreas Maita, Fariha Ibnat, Rebekah Leslie, Haziel Osunde, Dermot Stelfox
For CS3028 Principles of Software Engineering, University of Aberdeen

Instructions for Running the Project

If you are not a member of our organisation, you may either want to create a fork of this repository so you can clone it on your device, or simply download the search-app directory using this link. If you are using WSL + GitHub Desktop to clone the project, you will need to map your network drive if you haven't done so already so that GitHub Desktop knows the correct location to clone the repo.

Now, you will need to install a few packages and dependencies in order to run the laravel project. The following instructions are for Linux or WSL environments, but you should also be able to successfully run the website on macOS as well.

Download PHP, Laravel and Composer:

Linux (Debian-based)

  1. sudo apt update && sudo apt upgrade
  2. sudo apt install nodejs unzip
  3. Install PHP for your system /bin/bash -c "$(curl -fsSL https://php.new/install/linux)"
  4. sudo apt-get install php-mbstring php-xml php-json php-zip php-curl

MacOS

  1. Assuming you have homebrew installed, otherwise substitute brew in the following commands for your package manager
  2. brew upgrade
  3. Install system requirements brew install nodejs unzip php-mbstring php-xml php-json php-zip php-curl (NOT ACCURATE, SOME PACKAGES NOT ON HOMEBREW - TO DO)
  4. Install PHP for your system /bin/bash -c "$(curl -fsSL https://php.new/install/mac)"

Running the Project

Back-End

  1. Source the python virtual environment source venv_sar/bin/activate (this is relative to the repository, so assumes you are in the root directory of the repository)
  2. Install the python requirements (only on first setup/run) pip install -r venv_sar/requirements.txt
  3. Go to the back-end directory cd search-app/back-end
  4. Install the composer requirements (only on first setup/run) composer install
  5. Run PHP server using php artisan serve

Front-end

  1. Open second terminal, keeping the first running
  2. Go to the front-end directory cd search-app/front-end
  3. Install NPM requirements (only on first setup/run) npm install
  4. Run Vite Server with Vue tooling:
    1. Deploy site and run regularly with:
      1. Compile site only on first run / site changes being made npm run build
      2. Run with npm run preview
    2. NOT FOR DEPLOYMENT BECAUSE HAS DEV PRIVILLEGES npm run dev

About

Aberdeen Registers Online (ARO) search tool web application project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published