Skip to main content

Delivery Status Notification (Failure)

08.Apr.2017
> Istall git
- sudo apt install git

> Set user config
- git config --global user.email "you@example.com"
- git config --global user.name "Your Name"

> Install Mozilla Sqlite Manager AddOn
- https://addons.mozilla.org/en-US/firefox/addon/sqlite-manager/

> Install Heroku Toolbelt
-  sudo apt-get install software-properties-common
- sudo add-apt-repository "deb https://cli-assets.heroku.com/branches/stable/apt ./"
- sudo apt-get update

> Login to heroku
- heroku login
> Clone the repository
- heroku git:clone -a games-job

> Creating RVM files
- rvm use --create --rvmrc 2.2.4@pcso-games-job
> Install bundler
- gem install bundler

> Installed gems defined on the .Gemfile
- bundle install
! Encountered error while running bundle install
= No pg_config... trying anyway. If building fails, please try again with
> Resolution:
- sudo apt-get install libpq-dev



06.Apr.2017
> Update ubuntu software thru terminal
- sudo apt-get update

> Install sublime text
- https://www.sublimetext.com/3

> Prepair to install ruby language thru RVM
> Install Curl
- sudo apt-get install curl

> Install RVM
- \curl -L https://get.rvm.io | bash -s stable --ruby

> if there is a problem, try this command
-gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
- \curl -L https://get.rvm.io | bash -s stable --ruby

> Update RVM it to the latest version
- rvm get stable --autolibs=enable
> Install ruby
- rvm install ruby
> Install ruby-2.3.1
- rvm install 2.3.1
> To use ruby-2.3.1
- rvm use 2.3.1
> Integrating terminal
- https://rvm.io/integration/gnome-terminal
> Setup default ruby version to use
- rvm --default use ruby-2.3.1
*** NEED TO LEARN RVM Basics***

> Install Node.js
- sudo apt-get install nodejs
> Install npm
- sudo apt-get install npm
> Check Gem version
- gem -v
> Update Ruby Gem Manager
- gem update --system

> RVM's Global Gemset
> Switch to global gemtset
- rvm gemset use global
> Show gem list
- gem list
> Show outdated gems
- gem outdated
> To update outdate gems
- gem update
> Speed up gem installation by disabling documentation : This adds the line gem: --no-document to the hidden .gemrc file in your home directory.
- echo "gem: --no-document" >> ~/.gemrc

> Install bundler
- gem install bundler
> Install nokogiri
- gem install nokogiri


Comments

Popular posts from this blog

Ubuntu 16.04 LT - Installing Chromium browser

> Type these commands about this PPA : $ sudo add-apt-repository ppa:canonical-chromium-builds/stage $ sudo apt-get update $ sudo apt-get install chromium-browser > Terminal: mccrazy@Lenovo-N22:~$ sudo add-apt-repository ppa:canonical-chromium-builds/stage [sudo] password for mccrazy:  Testing site just before upload to Ubuntu main. Things here are either broken and not ready to use, or landing in the distro anyway very soon. You shouldn't use this.  More info: https://launchpad.net/~canonical-chromium-builds/+archive/ubuntu/stage Press [ENTER] to continue or ctrl-c to cancel adding it gpg: keyring `/tmp/tmp6cfppy_r/secring.gpg' created gpg: keyring `/tmp/tmp6cfppy_r/pubring.gpg' created gpg: requesting key 5B393194 from hkp server keyserver.ubuntu.com gpg: /tmp/tmp6cfppy_r/trustdb.gpg: trustdb created gpg: key 5B393194: public key "Launchpad PPA for Canonical Chromium Build Team" imported gpg: Total number processed: 1 gpg:               imported: 1  (RSA

Moodlerooms Webservice - How to insert a user using function core_user_create_users

https://our-sandbox.mrooms.net/webservice/rest/server.php?wstoken=OUT_TOKEN_HERE&wsfunction=core_user_create_users&moodlewsrestformat=xml&users [0][username]= biboyatienza@gmail.com &users[0][password]=00.00.0000&users[0][firstname]=biboy&users[0][lastname]=atienza&users[0][email]= biboyatienza@gmail.com &users[0][city]=Manila&users[0][country]=Philippines &users[0][customfields][0][type]= customer &users[0][customfields][0][value]=Customer1 &users[0][customfields][1][type]= customeremail &users[0][customfields][1][value]= customer@email.com &users[0][customfields][2][type]= customerphone &users[0][customfields][2][value]=+6325217788