create account

Greenshift 07: Setting Up An Environment by qfilter

View this thread on: hive.blogpeakd.comecency.com
· @qfilter ·
$3.42
Greenshift 07: Setting Up An Environment
So, nothing really all that interesting to write about today. Basically setting up my environment to actually begin testing and building things in the future. I decided to upgrade and revamp my development environment so that I'm using the most up to date stuff so that I do not end up having dependencies and outdated libraries begin to brake on me. 

I finally upgraded from Ubuntu 16.04  to Ubuntu 18.04. I probably should have updated that environment a long time ago, but I haven't really cared that much to do so. But if I'm going to start a new project and if I plan on working on it for awhile, then upgrading to the latest and greatest in software isn't the worst move. 

After getting my development operating system updated, I moved on to getting Ruby Version Manager and Ruby 2.5 onto my system. My previous environments had Ruby 2.2 and 2.3 respectively and those are getting pretty old, so to continue with the theme of getting shiny new things, I got a shiny version of Ruby. Although apparently Ruby 2.6 has some exciting improvements to performance in store which I'm looking forward to [](https://www.infoworld.com/article/3245665/web-development/whats-new-in-ruby.html). 

Next, I installed node-js which is used within Rails which is a web application framework which uses Ruby to generate a nice structured project which separates different concerns so they are easier to manage. Rails uses the so-called MVC pattern that is popular in application development and something we'll go into a little more detail in future posts. I installed a few gems which are packages in Ruby (including the all-important bundler gem), before installing Rails 5.2 which is a gem itself. 

For those that don't do a lot of development in Ruby or development in general, this all might seem really confusing, but after doing a bunch of setups, you get used to it and there are plenty of resources online to help set up Ruby and Rails so you can begin developing web applications using Ruby. 

The last thing I did was set up a Git repository on Github for Project Greenshift.  As mentioned in the earlier post, the project is open-source and all of the code will be available for anyone to use and build upon as they wish. 

<center>
![](https://cdn.steemitimages.com/DQmUmgvnSc8vT59R2E785VZdbPU4PNVf5XGhpTGGayuuayH/image.png)
<h6>One can view the repository [here](https://github.com/greer184/Greenshift).</h6>
</center>

Unfortunately, my computer crashed while loading some of the new stuff, so I wasn't able to get to all I wanted to get to today. That's the one issue with development. Lots and lots of troubleshooting. And running into errors. And it only gets worse from here. But perhaps there's the reason it's so fun. There's no better feeling than getting some complex piece of code to finally behave the way that you intended it to.
👍  , , ,
properties (23)
authorqfilter
permlinkgreenshift-07-setting-up-an-environment
categorygreenshift
json_metadata{"tags":["greenshift","blog","development","brainstorm","programming"],"image":["https://cdn.steemitimages.com/DQmUmgvnSc8vT59R2E785VZdbPU4PNVf5XGhpTGGayuuayH/image.png"],"links":["https://www.infoworld.com/article/3245665/web-development/whats-new-in-ruby.html","https://github.com/greer184/Greenshift"],"app":"steemit/0.1","format":"markdown"}
created2018-07-19 02:25:33
last_update2018-07-19 02:25:33
depth0
children4
last_payout2018-07-26 02:25:33
cashout_time1969-12-31 23:59:59
total_payout_value2.688 HBD
curator_payout_value0.736 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,846
author_reputation391,282,423,676
root_title"Greenshift 07: Setting Up An Environment"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id65,184,661
net_rshares1,634,744,575,244
author_curate_reward""
vote details (4)
@edicted ·
I've never tried Ruby.  How much do you like it?
👍  
properties (23)
authoredicted
permlinkre-qfilter-greenshift-07-setting-up-an-environment-20180719t025940400z
categorygreenshift
json_metadata{"tags":["greenshift"],"app":"steemit/0.1"}
created2018-07-19 02:59:42
last_update2018-07-19 02:59:42
depth1
children1
last_payout2018-07-26 02:59:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length48
author_reputation3,497,851,531,456,337
root_title"Greenshift 07: Setting Up An Environment"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id65,187,306
net_rshares266,965,143
author_curate_reward""
vote details (1)
@qfilter ·
$0.05
It's a lot like Python, but a little less annoying in my opinion. It's probably my favorite language to write code in, but it's less friendly in terms of debugging. Dynamically typed interpreted languages tend to be that way. I think Python probably superior in terms of data science and AI, but Ruby is good for some quick and easy web development.
👍  
properties (23)
authorqfilter
permlinkre-edicted-re-qfilter-greenshift-07-setting-up-an-environment-20180720t011438144z
categorygreenshift
json_metadata{"tags":["greenshift"],"app":"steemit/0.1"}
created2018-07-20 01:14:30
last_update2018-07-20 01:14:30
depth2
children0
last_payout2018-07-27 01:14:30
cashout_time1969-12-31 23:59:59
total_payout_value0.040 HBD
curator_payout_value0.012 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length349
author_reputation391,282,423,676
root_title"Greenshift 07: Setting Up An Environment"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id65,304,969
net_rshares25,885,845,439
author_curate_reward""
vote details (1)
@introduce.bot ·
✅  @qfilter, I gave you an upvote on your post!<br><br>If you are interested in claiming free Byteballs ($10+), just for having a Steem account, please visit this post for instructions: https://steemit.com/steem/@berniesanders/do-you-want-some-free-byteballs
properties (22)
authorintroduce.bot
permlinkintroduce-bot-re-qfiltergreenshift-07-setting-up-an-environment
categorygreenshift
json_metadata""
created2018-07-19 02:25:39
last_update2018-07-19 02:25:39
depth1
children0
last_payout2018-07-26 02:25:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length258
author_reputation20,568,707,332,317
root_title"Greenshift 07: Setting Up An Environment"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id65,184,668
net_rshares0
@steemprojects ·
This post has been just added as new item to _[timeline of Q-Filter on Steem Projects](https://steemprojects.com/projects/p/q-filter/?utm_source=comment_timeline&utm_medium=steem&utm_campaign=new_event&utm_content=c1)_.

If you want to be notified about new updates from this project, register on Steem Projects and add Q-Filter to your favorite projects.
properties (22)
authorsteemprojects
permlinkre-greenshift-07-setting-up-an-environment-20180819t111725
categorygreenshift
json_metadata""
created2018-08-19 11:17:27
last_update2018-08-19 11:17:27
depth1
children0
last_payout2018-08-26 11:17:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length357
author_reputation29,054,729,340
root_title"Greenshift 07: Setting Up An Environment"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id68,688,033
net_rshares0