Skip to content

Instantly share code, notes, and snippets.

@dgmike
Forked from gaza3g/redmine_installation.sh
Created October 2, 2012 01:58
Show Gist options
  • Save dgmike/3815724 to your computer and use it in GitHub Desktop.
Save dgmike/3815724 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment