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.
My first project for this was creating a site for @giantbear's gedwriting class. 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.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install curl \
linux-image-extra-$(uname -r) \
sudo apt-get install php-cli php-xml zip unzip screen
sudo apt-get install apt-transport-https \
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) \
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
composer create-project --stability=dev greymass/reprint-starter yourblog
Select Y when asked to remove history.
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;
sudo docker-compose up --build
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.
If you have any issues or want to help in development please contact me in http://steemit.chat