NOT BEING MAINTAINED - but should run in current state
Since being submitted this project has been:
- updated to use a newer version of rails and its dependencies
- updated to be able to be run in a docker container
- added github actions workflow for CI/CD
This is a ruby on rails website for modelling PC Builds (Pc component lists). I have used HAML, JavaScript, Jquery and many more technologies in this project. The component tables are populated with seeds, however the build table is populated manually. The admin account can see the component drop down menu and can edit/destroy any builds while only the user that created the build can usually only do this.
When loading the builds page, wait for it to fully load! Otherwise the Jquery showing the components on mousehover wont work correctly!
To run: open terminal in the main dir (on machines that can run rails), execute rake db:reset db:migrate db:seed
& rails s
and navigate to localhost:3000
.
Alternativly one can use docker:
docker build -t buildswebsite .
docker run -p 3000:3000 buildswebsite
This project is hosted on https://github.com/Giles-Billenness/COM2025
There are two test accounts that need to be signed up:
- Admin: [email protected], password: password - has global write access
- User: [email protected], password: password - has account level write access