-
Notifications
You must be signed in to change notification settings - Fork 4
Human readable script
- pull down latest version of master branch
npm run burnthemall
-
npm run burnthedb
get some seed data in there! npm run dev
- open
localhost:3000
in browser
Welcome to the Cobuy landing page! Oooo so pretty!
- click
Register
- create a new account with an email and password that you will remember later (can be real or fake)
A wild dashboard has appeared! It has a
Create your profile
task ability! Amaze!
- click
Create Your Profile
- click
Edit Profile
- enter your most personal details
- click
Edit Avatar
- click
Choose File
and select your best face file - crop that baby to maximise adorability
- click
Save Avatar
to immortalise yourself within a circle omg! - click
Save Profile
- click
Done
button in top right corner
OMG you completed your first task! High five!
- click
Start Order
- click
Complete Order Pre-Requisites
- click
Finish pre-requisites for ordering
- click
Setup group profile and members
- click
Edit Profile
- enter the details for your humble group, and do the avatar thing, as above (remember to click
Save Avatar
when you're done!) - click
Save Profile
- hit that
Next
button
Whoa! Fancy task switchy thing is asking you to
Invite Your Members
! Is this the future?! Your details should already be autofilled as the first member of your group - now invite your friends!
- enter the name and email of one or more people as other members of your group (can be real or fake)
- ensure the check box is ticked for each member you want to add
- click
Invite Members
- click
Next
-
Done
! - click
Setup supplier profile and products
- click
Edit Profile
- enter the details of a make-believe (or real, if you want) supplier, including the avatar doo-dad as above
- click
Save Profile
- hit that
Next
button
Bonus level unlocked! Now you can add products to your supplier's product list! Incredible!
- click
Create new product
- click
Edit Product
- enter details of a product, including a beautiful picture link
- click
Save Product
- click
Add price specification
- enter details for first price spec
- click
Add price specification
again! - enter details for second price spec, with quantity greater than, and price less than, the first price spec
- click
Save price specifications
- repeat the above block of instructions for at least two more products (so three products in total)
- hit that
Next
button Done
andDone
(and I mean done)
Keep going friend! You're almost there!
- click
Start Order
- select the group you setup just before
- click
Next
- select the supplier you setup just before
- click
Next
- select yourself as an admin
- click
Next
-
Done
andDone
!
Woosh! Back to the dashboard! A wild
Add Items To This Order
task has appeared! As a member of the group for which you just set up an order (words...), you can now place your own, unique-like-a-snowflake order <3
- click
Add Items To This Order
Basking in the glory of this glorious product list, you...
- select the first product by hitting
Click Here
- enter the quantities you "want to buy" at each price point
- click
Add
to add this product to your order - do the same as above for as many other products as you like
- click
Done
when you're done...
You have reached the end of the ordering part of the journey... for now. Meanwhile, let's make sure we can log out and log back in again...
- click the hamburger menu on the top left, and click
Log Out
- click the
Sign In
button on the Cobuy landing page - enter the email and password you used originally into the respective fields
- click
Sign In
Congratulations! You did the things! Now we are going to test the live update feature, which as of 16/11/17, can only be tested with the seed data. So...
- click the hamburger menu on the top left, and click
Log Out
- click
Sign In
on the landing page - enter dan@rootsystems.nz in the email field
- enter password in the password field
- click 'Sign In`
The seed data means Dan has already created a profile and setup a group, supplier and products. Let's get this order started..._
- click
Start Order
A
Complete Order Pre-Requisites
task appears! This is a bit silly since that stuff has already been set up, but until that's tidied up, let's roll with it...
- click
Complete Order Pre-Requisites
- click
Finish pre-requisites for ordering
- click
Setup group profile and members
Since we're just playing this silly game to get to the juicy bits, we don't need to actually set this stuff up, we just need to trick the app into thinking we have...
- click
Done
in the top right hand corner - click
Setup supplier profile and products
-
Done
andDone
Now this is where it starts to get serious...
- click
Start Order
- select Ruru Kahui Ako as the group
- click
Next
- select School Supplies R'Us as the supplier
- click
Next
- select Dan Lewis as an admin
- click
Next
-
Done
andDone
!
Woosh! Back to the dashboard again. An
Add Items To This Order
task has appeared. Let's get ordering!
- click
Add Items To This Order
My, look at all these lovely products! Let's order some... but first! To test the live order update feature, we need to log in as another member of the "Ruru Kahui Ako" group. The current hack for this requires that we take note of the task route on this product screen, so...
- highlight and copy the route in the address bar (it should look like
http://localhost:3000/tasks/#
) - open a new incognito window in your browser and position these two browser windows so you can see both at the same time
- in the incognito window, go to
localhost:3000
- click the
Sign In
button on the landing page - enter sarah@rootsystems.nz in the email field
- enter password in the password field
- click 'Sign In`
At the moment there are no tasks assigned to Sarah on the dashboard, but...
- paste the task route from Dan's product page into Sarah's incognito window address bar and hit
enter
Ah! Now Sarah is looking at the same product list for the same order that Dan is looking at! Huzzah!
- in Sarah's window, select
Laptop Pro 3
by hitting itsClick Here
button - switch to Dan's window, and select
Laptop Pro 3
by hitting itsClick Here
button - enter a quantity of 20 for the first price point, and 40 for the second
- click
Add
to add this product to Dan's order
Watch Sarah's window to see that Dan's laptop order displays - under the first price point it should say
Dan Lewis is buying 20
, and under the second price point it should sayDan Lewis is buying 40
- in Dan's window, select
Laptop Pro 3
again by hitting itsClick Here
button - switch to Sarah's window, and enter a quantity of 30 for the first price point, and 80 for the second
- click
Add
to add this product to Sarah's order
Watch Dan's window to see that Sarah's laptop order displays - under the first price point it should say
Sarah Rogers is buying 30
, and under the second price point it should saySarah Rogers is buying 80
That's it! That's all the things we have to test! For meow...
- add more data to demo data seed as needed
As features are added, add them to this script, eg:
- order closes (how? timer that we skip to in video?)
- admin sees order complete invoice
- admin sees order complete sheet breakdown by group member