If you are interested in making changes to the Steemit.com website, you will need to setup a local instance of the website to work on. Here are the instructions to do so!
The steps below are basically the instructions from the Steemit.com GitHub Repository, with some minor variations / updates based on some hurdles that I ran into and overcame when I was following the steps.
I have run these multiple times on a clean Ubuntu 16.04 system, and they should work exactly "as-is" on Ubuntu 16.04. There are also variations in the GitHub Repo for OS X, and Debian based Linux.
git clone https://github.com/steemit/steemit.com
cd steemit.com
mkdir tmp
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
command -v nvm # verify
(It should output nvm)
nvm install v6
npm install
npm install -g babel-cli
cd config
cp steem-example.json steem-dev.json
node
> crypto.randomBytes(32).toString('base64')
> .exit
(Copy the string that was output.)
(It will look something like this: MQd4aPyBhnHhjeEoqKb7m1QFVuTTYZFtWyGkfejgSbo=)
nano steem-dev.json
cd ..
sudo apt-get update
sudo apt-get install mysql-server
(Enter the MySQL root PW that you used above when prompted)
mysql -u root -p
(enter password)
> create database steemit_dev;
> quit
npm install -g sequelize sequelize-cli pm2 mysql
cd db
cd config
nano config.json
(enter pw)
cd ..
sequelize db:migrate
cd ..
npm start
http://123.456.789.001:3002/
(Use the IP address of your system)
If you have any questions, let me know and I will do my best to help :-)