-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.md~
80 lines (69 loc) · 1.24 KB
/
README.md~
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# SARYAN
## SE 195 Project
### Jordan Petersen, Lisa Efrid, Sarmad Syed
----
### Deployment
- [Heroku Depolyment][heroku]
## Ubuntu
---
### Install Rails
- [How to Install Ruby Rails][rails]
### Run Rails Application
#### 1- Pull repository
```sh
$ git clone <repository>
```
#### 2- Open repository folder
```sh
$ cd <dir>
```
#### 3- Run Gem install
```sh
$ bundle install
```
#### 4- Create Databe
```sh
$ bundle exec rake db:migrate
```
#### 5- Seed Database
```sh
$ bundel exec rake db:seed
```
#### 6- Run local Rails web-server
```sh
$ rails s
```
## Cloud9
----
#### 1- Create Acount at [Cloud9][cloud9]
#### 2- Create new Worspace
#### 3- In Create Workspace set repository to:
```sh
[email protected]/gr347wh173n0r7h:engr_projects
```
#### 4- In Choose the Templace choose Custom option
#### 5- Let Cloud9 load workspace...
#### 6- Install Rails
```sh
gem install rails
```
#### 7- Run Gem install
```sh
$ bundle install
```
#### 8- Create Databe
```sh
$ bundle exec rake db:migrate
```
#### 9- Seed Database
```sh
$ bundel exec rake db:seed
```
#### 9- Runs Rails Server
```sh
$ rails s -b $IP -p $PORT
```
[//]: #
[rails]: <https://gorails.com/setup/ubuntu/14.10>
[heroku]: <https://pure-springs-4374.herokuapp.com/>
[cloud9]: <https://c9.io/>