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 .。.:*☆
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
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.
sudo apt update && sudo apt upgrade
sudo apt install nodejs unzip
- Install PHP for your system
/bin/bash -c "$(curl -fsSL https://php.new/install/linux)"
sudo apt-get install php-mbstring php-xml php-json php-zip php-curl
- Assuming you have homebrew installed, otherwise substitute
brew
in the following commands for your package manager brew upgrade
- 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) - Install PHP for your system
/bin/bash -c "$(curl -fsSL https://php.new/install/mac)"
- 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) - Install the python requirements (only on first setup/run)
pip install -r venv_sar/requirements.txt
- Go to the back-end directory
cd search-app/back-end
- Install the composer requirements (only on first setup/run)
composer install
- Run PHP server using
php artisan serve
- Open second terminal, keeping the first running
- Go to the front-end directory
cd search-app/front-end
- Install NPM requirements (only on first setup/run)
npm install
- Run Vite Server with Vue tooling:
- Deploy site and run regularly with:
- Compile site only on first run / site changes being made
npm run build
- Run with
npm run preview
- Compile site only on first run / site changes being made
- NOT FOR DEPLOYMENT BECAUSE HAS DEV PRIVILLEGES
npm run dev
- Deploy site and run regularly with: