-
Notifications
You must be signed in to change notification settings - Fork 124
01_Installing Hashview
i128 edited this page Sep 24, 2016
·
4 revisions
sudo apt-get update
sudo apt-get install mysql-server libmysqlclient-dev redis-server openssl rake
[optional, but recommended]
mysql_secure_installation
vim /etc/mysql/my.cnf
Add the following line under the [mysqld] section:
innodb_flush_log_at_trx_commit = 0
restart mysqld
service mysqld restart
git clone https://github.com/hashview/hashview
Install ruby 2.2.2 via RVM (if using RVM (recommended))
rvm install ruby-2.2.2
Install dependencies
gem install bundler
bundle install
cp config/database.yml.example config/database.yml
vim config/database.yml
RACK_ENV=production rake db:setup
See Running Hashview Wiki page.