This repository has been archived by the owner on Dec 31, 2019. It is now read-only.
/
README
65 lines (47 loc) · 1.88 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
========================================
Workshift Manager's Assistant (WSMA)
========================================
CS169 Fall 2011
Professor George Necula
GSI Sharada Prasad
UC Berkeley
Brian Maissy (brianmaissy@berkeley.edu)
Ben Lui
Travis Cheng
Tai Schuller
Cat Callaghan
========================================
Running the application on the EC2
========================================
Please use Chrome. We have not yet tackled cross-browser compatibility, so we cannot guarantee correct functionality if you use any other browser.
Navigate to: http://107.20.135.212:8092
To login with admin privileges: admin@fake.fake//password
To login with workshift manager privileges: wsm@fake.fake//password
To login with user privileges: user@fake.fake//password
========================================
Issue Tracker
========================================
Issues can be opened here:
https://github.com/brianmaissy/WSMA/issues
Anyone can create issues, but you need a github account.
========================================
Running the application locally
========================================
Clone the git repository from:
https://github.com/brianmaissy/WSMA
To run the server:
bundle install
rake bootstrap
rake assets:precompile (optional)
rails server -e production
(The rake bootstrap task sets up the database and loads it with some sample data)
(Currently the setting is to fall back to the asset pipeline if the precompiled assets are unavailable.
We should change this in the production.rb config file when deploying.
This will require configuration of nginx to serve our files in public/assets.)
Navigate to: localhost:3000/
To login with admin privileges: admin//password
To login with workshift manager privileges: wsm//password
To login with user privileges: user//password
Requirements and design documents are available in the doc/ directory of the repository.
To run the tests:
rake test