Skip to content
Snippets Groups Projects
Commit 10402ff4 authored by Butler, Alexis (UG - Computer Science)'s avatar Butler, Alexis (UG - Computer Science)
Browse files

Validated Project on linux lab computer heron 100

parent f39575da
No related branches found
No related tags found
No related merge requests found
# README # README
A ruby on rails web store for COM2025 coursework. A ruby on rails web store for COM2025 coursework.
What follows is general house keeping stuff, read on for notes ![alt text](CWhomepage.png "Screenshot of the homepage")
on: config, setup, testing, design, funky behaviour etc. What follows is general house keeping stuff, read on for notes on: config, setup, testing, design, funky behaviour etc.
## Configuration ## Configuration
* ###Dev Env * ### Dev Env
* Built in ruby mine 2020.2 on ubuntu 20.04 * Built in ruby mine 2020.2 on ubuntu 20.04
* Using Ruby version 2.5.7-p206 * Using Ruby version 2.5.7-p206
* With Rails version 5.2.4.4 * With Rails version 5.2.4.4
...@@ -16,9 +16,17 @@ on: config, setup, testing, design, funky behaviour etc. ...@@ -16,9 +16,17 @@ on: config, setup, testing, design, funky behaviour etc.
* Validation of functionality on lab machines is expected to take place later today * Validation of functionality on lab machines is expected to take place later today
* Image magick version 6.9.10-23 Q16 installed to fulfil dependency of gem * Image magick version 6.9.10-23 Q16 installed to fulfil dependency of gem
## Setup ## Setup (validated on heron 100 13:50 09/12/2020)
###Will fill this in when setting up on verification test * `git clone gitlab@gitlab.eps.surrey.ac.uk:ab02259/com2025-coursework.git` OR `git clone git@github.com:Abutler101/Com2025-Coursework.git` OR download ZIP from coursework upload
* `bundle install --path vendor/bundle`
* `rake db:drop`
* `rake db:create`
* `rake db:migrate`
* `rake db:seed`
* `rails db:migrate RAILS_ENV=test`
* run tests to confirm setup
* `rails s`
## Testing ## Testing
To run all tests: To run all tests:
...@@ -46,6 +54,20 @@ Expected output: ...@@ -46,6 +54,20 @@ Expected output:
as email prompts along the lines of: "You left something in your cart, come back and purchase here's a discount" etc were as email prompts along the lines of: "You left something in your cart, come back and purchase here's a discount" etc were
planned then the cart system would be moved over to Database storage with a similar table layout to the current order, order entry planned then the cart system would be moved over to Database storage with a similar table layout to the current order, order entry
pair of tables. pair of tables.
## Notes
* heron 100 config on day of validation:
* ruby 2.5.1p57
* rails 5.2.4.4
* ImageMagick 6.9.7-4 Q16
* seeded user accounts:
| email address | password | Type |
|-------------------|----------|-------|
| Test1@testacc.com | blank | User |
| Test2@testacc.com | blank | User |
| admin@testacc.com | blank | Admin |
## Funky Behaviour ## Funky Behaviour
* The dropdown for sections seems to work intermittently- * The dropdown for sections seems to work intermittently-
the suspected cause is something to do with the page loading the suspected cause is something to do with the page loading
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment