Redmine Installation Steps
Steps to take when installing redmine
- Download XCode and then go to => Preferences => Install CommandLine Tools (or download the cmd line tools without instaling XCode from apple site)
- sudo ln -s /usr/bin/gcc /usr/bin/gcc-4.2 #fixes error when bundler tries to install json
- Install homebrew
- brew install mysql
- mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp #this is the instruction from homebrew
- mysqladmin -u root password 'password'
- usr/local/opt/mysql/bin/mysqld_safe & #start mysql
- mysql -u root -p
mysql> CREATE USER 'root'@'localhost' IDENTIFIED BY 'some_pass';
mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost'
-> WITH GRANT OPTION;
mysql> CREATE USER 'root'@'%' IDENTIFIED BY 'some_pass';
mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'
-> WITH GRANT OPTION;
- mysqladmin -u root -p -h gazzas-MacBook.local password 'alpha4'
- Install rvm to install latest ruby
- gem install rails
- Clone redmine git repo
- bundle install