Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

  1. Install updated version of bundler
  2. Installing rails 4.0
  3. Creating a new project
  4. Create .htaccess
  5. Create symlink
  6. Modify group/permissions

Via PHP Shell

Install updated version of bundler

...

No Format
% cd /www/myrailsapp/htdocs/
% ln -s /www/myrailsapp/myrailsapp/public myrailsappdev

Configure mysql database

Configure the database name/username/password.

No Format
% cat /www/myrailsapp/myrailsapp/config/database.yml
...
development:
  adapter: mysql2
  encoding: utf8
  database: myrailsapp_development
  pool: 5
  username: myrailsapp
  password: [password]
  socket: /var/lib/mysql/mysql.sock
...

Configure permissions

If you installed using "lamp" you will need to make the "log" and "tmp" directory writable by the web server.

No Format

% cd /www/myrailsapp/myrailsapp
% chgrp lampgrp tmp log
% chmod g+s tmp log