/projeto-ihgs

git pull git status git add . git status git commit -m "teste" git push 1 ruby 2 ruby --version 3 gem install rails 4 mkdir app 5 cd app 6 git init 7 rails new hello_app 8 git add . 9 git commit -m "first" 10 heroku login 11 heroku add:key 12 heroku keys:add 13 bundle install --without production 14 cd hello_app/ 15 c 16 bundle install --without production 17 git init 18 git add . 19 git commit -m "primeiro" 20 git push heroku master 21 heroku create 22 git push heroku master 23 git add . 24 git commit -m "primeiro2" 25 git push heroku master 26 cd app/hello_app/ 27 bundle install --without production 28 git add . 29 git commit -m "primeiro9" 30 git push heroku master 31 bundle exec rake -P 32 git add . 33 git commit -m "primeiro9" 34 git push heroku master 35 bundle install --without production 36 git add . 37 git commit -m "primeiro9" 38 git push heroku master 39 bundle install --without production 40 git add . 41 git commit -m "primeiro9" 42 git push heroku master 43 bundle install --without production 44 git add . 45 git commit -m "primeiro9" 46 git push heroku master 47 history 48 history > ../../cmmd 49 cd .. 50 rails new crud 51 cd crud/ 52 bundle install --without production 53 git 54 git init 55 git add . 56 git commit -m "First" 57 git status 58 bundle install --without production 59 rails generate scaffold nome:string, idade:int 60 rails generate scaffold nome:string idade:int 61 bundle install --without production 62 rails generate scaffold nome:string idade:int 63 rails generate scaffold Cliente nome:string idade:int 64 rake db:migrate 65 rails generate scaffold Cliente nome:string idade:number 66 rails generate scaffold Cliente nome:string idade:number --force 67 rake db:migrate 68 rails generate scaffold Cliente nome:string idade:integer --force 69 rake db:migrate 70 rails server -b $IP -p $PORT 71 cd apps/hello 72 heroku login 73 heroku open 74 git add . 75 git commit -m "procfile" 76 git push heroku master 77 history > ../../cmmds1 78 rails generate controller teste page 79 rails server -b $IP -p $PORT 80 cd .. 81 rails new cadastro 82 cd cadastro/ 83 rails generate scaffold Cliente nome:string idade:int 84 bundle install --without production 85 rails generate scaffold Cliente nome:string idade:int 86 rake db:migrate 87 rails server -b $IP -p $PORT 88 history > ../../cmmds1 89 rails server -b $IP -p $PORT 90 heroku login 91 git add . 92 git commit -m "primeiro commit" 93 git push heroku master 94 heroku create 95 git push heroku master 96 heroku run rails db:migrate 97 history > ../../cmmds2

Primary LanguageHTML

git pull

git status
git add .
git status
git commit -m "teste"
git push

<br> 1  ruby
<br> 2  ruby --version
<br> 3  gem install rails


4 mkdir app
5 cd app
6 git init
7 rails new hello_app
8 git add .
9 git commit -m "first"
10 heroku login
11 heroku add:key
12 heroku keys:add
13 bundle install --without production
14 cd hello_app/
15 c
16 bundle install --without production
17 git init
18 git add .
19 git commit -m "primeiro"
20 git push heroku master
21 heroku create
22 git push heroku master
23 git add .
24 git commit -m "primeiro2"
25 git push heroku master
26 cd app/hello_app/
27 bundle install --without production
28 git add .
29 git commit -m "primeiro9"
30 git push heroku master
31 bundle exec rake -P
32 git add .
33 git commit -m "primeiro9"
34 git push heroku master
35 bundle install --without production
36 git add .
37 git commit -m "primeiro9"
38 git push heroku master
39 bundle install --without production
40 git add .
41 git commit -m "primeiro9"
42 git push heroku master
43 bundle install --without production
44 git add .
45 git commit -m "primeiro9"
46 git push heroku master
47 history
48 history > ../../cmmd
49 cd ..
50 rails new crud
51 cd crud/
52 bundle install --without production
53 git
54 git init
55 git add .
56 git commit -m "First"
57 git status
58 bundle install --without production
59 rails generate scaffold nome:string, idade:int
60 rails generate scaffold nome:string idade:int
61 bundle install --without production
62 rails generate scaffold nome:string idade:int
63 rails generate scaffold Cliente nome:string idade:int
64 rake db:migrate
65 rails generate scaffold Cliente nome:string idade:number
66 rails generate scaffold Cliente nome:string idade:number --force
67 rake db:migrate
68 rails generate scaffold Cliente nome:string idade:integer --force
69 rake db:migrate
70 rails server -b $IP -p $PORT
71 cd apps/hello
72 heroku login
73 heroku open
74 git add .
75 git commit -m "procfile"
76 git push heroku master
77 history > ../../cmmds1
78 rails generate controller teste page
79 rails server -b $IP -p $PORT
80 cd ..
81 rails new cadastro
82 cd cadastro/
83 rails generate scaffold Cliente nome:string idade:int
84 bundle install --without production
85 rails generate scaffold Cliente nome:string idade:int
86 rake db:migrate
87 rails server -b $IP -p $PORT
88 history > ../../cmmds1
89 rails server -b $IP -p $PORT
90 heroku login
91 git add .
92 git commit -m "primeiro commit"
93 git push heroku master
94 heroku create
95 git push heroku master
96 heroku run rails db:migrate
97 history > ../../cmmds2

  • ...