>Terminal:
mccrazy@Lenovo-N22:~$ cd Documents/crazynote
mccrazy@Lenovo-N22:~/Documents/proyekto/r226$ rake db:create_migration NAME=create_doctors
db/migrate/20170506042338_create_doctors.rb
mccrazy@Lenovo-N22:~/Documents/proyekto/r226$ rake db:migrate
== 20170506042338 CreateDoctors: migrating ====================================
-- adapter_name()
-> 0.0000s
-- adapter_name()
-> 0.0000s
-- create_table(:doctors, {:id=>:integer})
-> 0.0034s
== 20170506042338 CreateDoctors: migrated (0.0041s) ===========================
mccrazy@Lenovo-N22:~/Documents/proyekto/r226$ git add .
mccrazy@Lenovo-N22:~/Documents/proyekto/r226$ git commit -am "initial project up to db:migrate"
[master (root-commit) 3e86239] initial project up to db:migrate
9 files changed, 220 insertions(+)
create mode 100644 .rvmrc
create mode 100644 Gemfile
create mode 100644 Gemfile.lock
create mode 100644 Rakefile
create mode 100644 config/database-config.rb
create mode 100644 db/DevDb.sqlite3
create mode 100644 db/migrate/20170506042338_create_doctors.rb
create mode 100644 db/schema.rb
create mode 100644 myapi.rb
mccrazy@Lenovo-N22:~/Documents/proyekto/r226$ git push
fatal: No configured push destination.
Either specify the URL from the command-line or configure a remote repository using
git remote add <name> <url>
and then push using the remote name
git push <name>
mccrazy@Lenovo-N22:~/Documents/proyekto/r226$ git push heroku master
Counting objects: 14, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (13/13), done.
Writing objects: 100% (14/14), 4.32 KiB | 0 bytes/s, done.
Total 14 (delta 0), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Ruby app detected
remote: -----> Compiling Ruby/Rack
remote: -----> Using Ruby version: ruby-2.2.6
remote: -----> Installing dependencies using bundler 1.13.7
remote: Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
remote: Warning: the running version of Bundler (1.13.7) is older than the version that created the lockfile (1.14.6). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
remote: Fetching gem metadata from http://rubygems.org/.........
remote: Fetching version metadata from http://rubygems.org/.
remote: Installing minitest 5.10.1
remote: Installing i18n 0.8.1
remote: Installing concurrent-ruby 1.0.5
remote: Installing thread_safe 0.3.6
remote: Installing arel 8.0.0
remote: Installing pg 0.20.0 with native extensions
remote: Installing rack 1.6.5
remote: Installing tilt 2.0.7
remote: Using bundler 1.13.7
remote: Installing tzinfo 1.2.3
remote: Installing rack-protection 1.5.3
remote: Installing sinatra 1.4.8
remote: Installing activesupport 5.1.0
remote: Installing activemodel 5.1.0
remote: Installing activerecord 5.1.0
remote: Installing sinatra-activerecord 2.0.13
remote: Bundle complete! 7 Gemfile dependencies, 16 gems now installed.
remote: Gems in the groups development and test were not installed.
remote: Bundled gems are installed into ./vendor/bundle.
remote: Bundle completed (12.88s)
remote: Cleaning up the bundler cache.
remote: Warning: the running version of Bundler (1.13.7) is older than the version that created the lockfile (1.14.6). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
remote: -----> Detecting rake tasks
remote:
remote: ###### WARNING:
remote: No Procfile detected, using the default web server.
remote: We recommend explicitly declaring how to boot your server process via a Procfile.
remote: https://devcenter.heroku.com/articles/ruby-default-web-server
remote:
remote: -----> Discovering process types
remote: Procfile declares types -> (none)
remote: Default types for buildpack -> console, rake, web
remote:
remote: -----> Compressing...
remote: Done: 19.4M
remote: -----> Launching...
remote: Released v5
remote: https://r226.herokuapp.com/ deployed to Heroku
remote:
remote: Verifying deploy... done.
To https://git.heroku.com/r226.git
* [new branch] master -> master
mccrazy@Lenovo-N22:~/Documents/proyekto/r226$ heroku run rake db:migrate
Running rake db:migrate on ⬢ r226... up, run.2131 (Free)
== 20170506042338 CreateDoctors: migrating ====================================
-- adapter_name()
-> 0.0000s
-- adapter_name()
-> 0.0000s
-- create_table(:doctors, {:id=>:integer})
-> 0.0147s
== 20170506042338 CreateDoctors: migrated (0.0152s) ===========================
mccrazy@Lenovo-N22:~/Documents/proyekto/r226$
mccrazy@Lenovo-N22:~$ cd Documents/crazynote
mccrazy@Lenovo-N22:~/Documents/proyekto/r226$ rake db:create_migration NAME=create_doctors
db/migrate/20170506042338_create_doctors.rb
mccrazy@Lenovo-N22:~/Documents/proyekto/r226$ rake db:migrate
== 20170506042338 CreateDoctors: migrating ====================================
-- adapter_name()
-> 0.0000s
-- adapter_name()
-> 0.0000s
-- create_table(:doctors, {:id=>:integer})
-> 0.0034s
== 20170506042338 CreateDoctors: migrated (0.0041s) ===========================
mccrazy@Lenovo-N22:~/Documents/proyekto/r226$ git add .
mccrazy@Lenovo-N22:~/Documents/proyekto/r226$ git commit -am "initial project up to db:migrate"
[master (root-commit) 3e86239] initial project up to db:migrate
9 files changed, 220 insertions(+)
create mode 100644 .rvmrc
create mode 100644 Gemfile
create mode 100644 Gemfile.lock
create mode 100644 Rakefile
create mode 100644 config/database-config.rb
create mode 100644 db/DevDb.sqlite3
create mode 100644 db/migrate/20170506042338_create_doctors.rb
create mode 100644 db/schema.rb
create mode 100644 myapi.rb
mccrazy@Lenovo-N22:~/Documents/proyekto/r226$ git push
fatal: No configured push destination.
Either specify the URL from the command-line or configure a remote repository using
git remote add <name> <url>
and then push using the remote name
git push <name>
mccrazy@Lenovo-N22:~/Documents/proyekto/r226$ git push heroku master
Counting objects: 14, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (13/13), done.
Writing objects: 100% (14/14), 4.32 KiB | 0 bytes/s, done.
Total 14 (delta 0), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Ruby app detected
remote: -----> Compiling Ruby/Rack
remote: -----> Using Ruby version: ruby-2.2.6
remote: -----> Installing dependencies using bundler 1.13.7
remote: Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
remote: Warning: the running version of Bundler (1.13.7) is older than the version that created the lockfile (1.14.6). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
remote: Fetching gem metadata from http://rubygems.org/.........
remote: Fetching version metadata from http://rubygems.org/.
remote: Installing minitest 5.10.1
remote: Installing i18n 0.8.1
remote: Installing concurrent-ruby 1.0.5
remote: Installing thread_safe 0.3.6
remote: Installing arel 8.0.0
remote: Installing pg 0.20.0 with native extensions
remote: Installing rack 1.6.5
remote: Installing tilt 2.0.7
remote: Using bundler 1.13.7
remote: Installing tzinfo 1.2.3
remote: Installing rack-protection 1.5.3
remote: Installing sinatra 1.4.8
remote: Installing activesupport 5.1.0
remote: Installing activemodel 5.1.0
remote: Installing activerecord 5.1.0
remote: Installing sinatra-activerecord 2.0.13
remote: Bundle complete! 7 Gemfile dependencies, 16 gems now installed.
remote: Gems in the groups development and test were not installed.
remote: Bundled gems are installed into ./vendor/bundle.
remote: Bundle completed (12.88s)
remote: Cleaning up the bundler cache.
remote: Warning: the running version of Bundler (1.13.7) is older than the version that created the lockfile (1.14.6). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
remote: -----> Detecting rake tasks
remote:
remote: ###### WARNING:
remote: No Procfile detected, using the default web server.
remote: We recommend explicitly declaring how to boot your server process via a Procfile.
remote: https://devcenter.heroku.com/articles/ruby-default-web-server
remote:
remote: -----> Discovering process types
remote: Procfile declares types -> (none)
remote: Default types for buildpack -> console, rake, web
remote:
remote: -----> Compressing...
remote: Done: 19.4M
remote: -----> Launching...
remote: Released v5
remote: https://r226.herokuapp.com/ deployed to Heroku
remote:
remote: Verifying deploy... done.
To https://git.heroku.com/r226.git
* [new branch] master -> master
mccrazy@Lenovo-N22:~/Documents/proyekto/r226$ heroku run rake db:migrate
Running rake db:migrate on ⬢ r226... up, run.2131 (Free)
== 20170506042338 CreateDoctors: migrating ====================================
-- adapter_name()
-> 0.0000s
-- adapter_name()
-> 0.0000s
-- create_table(:doctors, {:id=>:integer})
-> 0.0147s
== 20170506042338 CreateDoctors: migrated (0.0152s) ===========================
mccrazy@Lenovo-N22:~/Documents/proyekto/r226$
Comments
Post a Comment