-
Notifications
You must be signed in to change notification settings - Fork 53
Installing FromThePage on OS X for Development
Brent LaVelle edited this page Apr 25, 2020
·
2 revisions
Assuming that Rails, Ruby, and a Database are already accessible:
# create the database
mysql
MariaDB [(none)]> create user rails;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> set password for rails = PASSWORD('rails');
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> create database fromthepage_development character set='utf8' collate='utf8_general_ci';
Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]> grant all privileges on fromthepage_development.* to 'rails'@'localhost';
Query OK, 0 rows affected (0.00 sec)
# cd into the location you want FromThePage installed, probably /home/fromthepage
cd /home/fromthepage
#get the code
git clone "git://github.com/benwbrum/fromthepage.git"
# edit the database.yml to change the development db to fromthepage_development and update the password appropriately
# also had to comment out the "socket" line and add a "hostname" value
bundle install
rails s