You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assuming that Rails, Ruby, and a Database are already accessible:
Database Set-up
# 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)
Get the Code
# 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"
Configure the connection
# 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