create account

My First Tutorial: Create and Host a Blog of Your Own with Steemit Content. by codydeeds

View this thread on: hive.blogpeakd.comecency.com
· @codydeeds · (edited)
$5.57
My First Tutorial: Create and Host a Blog of Your Own with Steemit Content.
Whew! What a process! I have been at this for a few weeks now and have finally created a working tutorial for those scrubs like myself that want to host their steemit content on their own website.

http://i.imgur.com/hdFyD7p.jpg

My first project for this was creating a site for @giantbear's [gedwriting class](https://steemit.com/writing/@codydeeds/created-a-website-for-giantbear-s-gedwriting-class-steemit-experiment). I succeeded in this and just last night figured out how to remove the debug bar from the bottom thanks to help from @jesta. Spent a little bit of time today polishing the process and creating a list of commands for the average hacker like yourself. 

This tutorial assumes you have some terminal experience and an ubuntu server running 16.04 LTS (Xenial Xerus).

It is essentially what I wish I would have had a week ago. 

Make sure you install this as a user and not as root, I had some issues doing that. 

<center> http://i.imgur.com/syD3Q6p.png </center>

`sudo apt-get update `

`sudo apt-get upgrade`

> sudo apt-get install curl \\
    linux-image-extra-$(uname -r) \\
    linux-image-extra-virtual 

`sudo apt-get install php-cli php-xml zip unzip screen`


> sudo apt-get install apt-transport-https \\
                       ca-certificates


`sudo curl -fsSL https://yum.dockerproject.org/gpg | sudo apt-key add - `


`sudo apt-key fingerprint 58118E89F3A912897C070ADBF76221572C52609D `

> sudo add-apt-repository \\
       "deb https://apt.dockerproject.org/repo/ \\
       ubuntu-$(lsb_release -cs) \\
       main"


`sudo apt-get update `

`sudo apt-get -y install docker-engine `

`sudo curl -L "https://github.com/docker/compose/releases/download/1.10.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose`

`sudo chmod +x /usr/local/bin/docker-compose`

`sudo curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash - `

`sudo apt-get install -y nodejs `

`sudo apt-get install -y build-essential `

`sudo curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer`

`git clone https://github.com/greymass/reprint-starter`

`cd reprint-starter`

`composer create-project --stability=dev greymass/reprint-starter yourblog`

Select Y when asked to remove history.

`cd yourblog`

`sudo nano ~/reprint-starter/yourblog/resources/config/config.yaml`

Change template to: 'bootstrap3-default'

set user variables

cntrl+x then Y enter

`sudo nano ~/reprint-starter/yourblog/resources/config/infrastructure/docker/conf/vhost.conf`

Change:    fastcgi_param   APPLICATION_ENV development;

To:     fastcgi_param   APPLICATION_ENV production;

`cd ~/reprint-starter/yourblog`

`screen`

`screen`

`sudo docker-compose up --build`

cntrl+a+n 

exit ssh

<center> http://i.imgur.com/syD3Q6p.png </center>

it will take some time to build but, viola! You are done and should have something like http://blog.codydietz.com when navigating to your server or localhost. 

I feel this type of development is important for the adoption of steemit. It may seem counter intuitive to promote user publishing content outside of steemit.com. My opinion is that is the point of steemit, to liberate people from the confines of centralized content hosting. 

There is not a blogger in the world that would not want an immutable copy of their content, at lease any experienced ones. I am going to continue to work on this project and want to create one click deployable heroku app for this. The easier we make the process that wider the adoption. 

Special thanks to @jesta @personz @picokernel @inertia @pfunk and the whole steemit crew. 

If you have any issues or want to help in development please contact me in http://steemit.chat

[![steemitsignature](http://i.imgur.com/zYfDC2Z.jpg)](https://steemit.com/@codydeeds)
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 58 others
properties (23)
authorcodydeeds
permlinkmy-first-tutorial-create-and-host-a-blog-of-your-own-with-steemit-content
categorysteemit
json_metadata{"tags":["steemit","howto","technology","blog","blockchain"],"users":["giantbear","jesta","personz","picokernel","inertia","pfunk"],"image":["http://i.imgur.com/hdFyD7p.jpg","http://i.imgur.com/syD3Q6p.png","http://i.imgur.com/zYfDC2Z.jpg"],"links":["https://steemit.com/writing/@codydeeds/created-a-website-for-giantbear-s-gedwriting-class-steemit-experiment","https://apt.dockerproject.org/repo/","http://blog.codydietz.com","http://steemit.chat","https://steemit.com/@codydeeds"],"app":"steemit/0.1","format":"markdown"}
created2017-02-01 17:55:21
last_update2017-02-01 21:21:06
depth0
children12
last_payout2017-03-04 22:39:00
cashout_time1969-12-31 23:59:59
total_payout_value4.571 HBD
curator_payout_value1.001 HBD
pending_payout_value0.000 HBD
promoted0.148 HBD
body_length3,811
author_reputation38,090,771,215,071
root_title"My First Tutorial: Create and Host a Blog of Your Own with Steemit Content."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id2,398,089
net_rshares27,156,702,990,750
author_curate_reward""
vote details (122)
@dwinblood ·
I may have to mess with this if I get time.   I tend to use CentOS instead of Ubuntu, so I'd have to do a little dancing around and shouting to the rain gods but likely could still get it working.
👍  , ,
👎  
properties (23)
authordwinblood
permlinkre-codydeeds-my-first-tutorial-create-and-host-a-blog-of-your-own-with-steemit-content-20170201t180204717z
categorysteemit
json_metadata{"tags":["steemit"],"app":"steemit/0.1"}
created2017-02-01 18:01:57
last_update2017-02-01 18:01:57
depth1
children6
last_payout2017-03-04 22:39:00
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_length196
author_reputation383,232,067,634,988
root_title"My First Tutorial: Create and Host a Blog of Your Own with Steemit Content."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id2,398,139
net_rshares140,583,017
author_curate_reward""
vote details (4)
@codydeeds ·
please let me know what is needed for CentOS to make it work and I will add to the tutorial,  thanks!
👍  ,
👎  
properties (23)
authorcodydeeds
permlinkre-dwinblood-re-codydeeds-my-first-tutorial-create-and-host-a-blog-of-your-own-with-steemit-content-20170201t180628443z
categorysteemit
json_metadata{"tags":["steemit"],"app":"steemit/0.1"}
created2017-02-01 18:06:33
last_update2017-02-01 18:06:33
depth2
children5
last_payout2017-03-04 22:39:00
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_length101
author_reputation38,090,771,215,071
root_title"My First Tutorial: Create and Host a Blog of Your Own with Steemit Content."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id2,398,163
net_rshares140,583,017
author_curate_reward""
vote details (3)
@dwinblood ·
CentOS uses YUM instead of APTGET and the approach is a little different.   I am not sure how soon I'll be able to find out.   I am in the process of building an 8GB Fitlet and installing it with VyOS to begin using as my router instead of the Adtran that is currently in place.
👍  ,
👎  
properties (23)
authordwinblood
permlinkre-codydeeds-re-dwinblood-re-codydeeds-my-first-tutorial-create-and-host-a-blog-of-your-own-with-steemit-content-20170201t180932505z
categorysteemit
json_metadata{"tags":["steemit"],"app":"steemit/0.1"}
created2017-02-01 18:09:24
last_update2017-02-01 18:09:24
depth3
children4
last_payout2017-03-04 22:39:00
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_length278
author_reputation383,232,067,634,988
root_title"My First Tutorial: Create and Host a Blog of Your Own with Steemit Content."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id2,398,184
net_rshares140,583,017
author_curate_reward""
vote details (3)
@nigelmarkdias ·
Great work, @codydeeds
properties (22)
authornigelmarkdias
permlinkre-codydeeds-my-first-tutorial-create-and-host-a-blog-of-your-own-with-steemit-content-20170214t103854436z
categorysteemit
json_metadata{"tags":["steemit"],"users":["codydeeds"],"app":"steemit/0.1"}
created2017-02-14 10:38:54
last_update2017-02-14 10:38:54
depth1
children0
last_payout2017-03-04 22:39:00
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_length22
author_reputation47,068,459,201,342
root_title"My First Tutorial: Create and Host a Blog of Your Own with Steemit Content."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id2,504,055
net_rshares0
@playfulfoodie ·
Very nice information! A bit too early for me, but I've bookmarked it for the future :D
properties (22)
authorplayfulfoodie
permlinkre-codydeeds-my-first-tutorial-create-and-host-a-blog-of-your-own-with-steemit-content-20170202t103558765z
categorysteemit
json_metadata{"tags":["steemit"],"app":"steemit/0.1"}
created2017-02-02 10:36:00
last_update2017-02-02 10:36:00
depth1
children0
last_payout2017-03-04 22:39:00
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_length87
author_reputation121,642,196,164,382
root_title"My First Tutorial: Create and Host a Blog of Your Own with Steemit Content."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id2,403,897
net_rshares0
@qwesttexas ·
Nice job!  Well done, I will have to piggy back off of your efforts and try this myself.  Thanks for sharing with the community, and Steem on!
properties (22)
authorqwesttexas
permlinkre-codydeeds-my-first-tutorial-create-and-host-a-blog-of-your-own-with-steemit-content-20170509t202624439z
categorysteemit
json_metadata{"tags":["steemit"],"app":"steemit/0.1"}
created2017-05-09 20:26:24
last_update2017-05-09 20:26:24
depth1
children0
last_payout2017-05-16 20:26:24
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_length142
author_reputation1,401,797,341,730
root_title"My First Tutorial: Create and Host a Blog of Your Own with Steemit Content."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id3,286,735
net_rshares0
@shaunmza ·
That is awesome resteemed!
properties (22)
authorshaunmza
permlinkre-codydeeds-my-first-tutorial-create-and-host-a-blog-of-your-own-with-steemit-content-20170201t181024980z
categorysteemit
json_metadata{"tags":["steemit"],"app":"steemit/0.1"}
created2017-02-01 18:10:24
last_update2017-02-01 18:10:24
depth1
children1
last_payout2017-03-04 22:39:00
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_length26
author_reputation17,139,522,306,343
root_title"My First Tutorial: Create and Host a Blog of Your Own with Steemit Content."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id2,398,192
net_rshares0
@codydeeds ·
Thanks a lot, let me know if you need any help.
👍  ,
👎  
properties (23)
authorcodydeeds
permlinkre-shaunmza-re-codydeeds-my-first-tutorial-create-and-host-a-blog-of-your-own-with-steemit-content-20170201t181757217z
categorysteemit
json_metadata{"tags":["steemit"],"app":"steemit/0.1"}
created2017-02-01 18:18:00
last_update2017-02-01 18:18:00
depth2
children0
last_payout2017-03-04 22:39:00
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_length47
author_reputation38,090,771,215,071
root_title"My First Tutorial: Create and Host a Blog of Your Own with Steemit Content."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id2,398,231
net_rshares140,583,017
author_curate_reward""
vote details (3)