Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Installing FromThePage on OS X for Development
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)
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
Run the app
bundle install rails s
Clone this wiki locally
Press h to open a hovercard with more details.