|
SimpleLog wiki
Installing SimpleLog Upgrading Working with themes
How to
Troubleshooting Development & resources |
InstallationIf you're upgrading, you should not use these instructions. Use Upgrading instead. Using MediaTemple Grid Server (gs) or Dreamhost? See these: SimpleLog with MT(gs), SimpleLog with DreamHost Download the most recent version of SimpleLog before starting this process. 1. Copy the "simplelog_[version]" folder to your server or hard drive, chmod files:chmod 755 log/ chmod 755 theme_backup/ chmod 755 public/dispatch.fcgi 2. Set up databases and configure your settings in config/database.yml2a. A note on databases: You should use the same database for development and production in SimpleLog, unless you plan to make significant changes to the app and you want to truly run in development mode. You should create a test database if you wish to run the tests to make sure SimpleLog is working correctly before running it (this is recommended but isn't required).
2b. If you're going to use PostgreSQL, you should use the database_postgres.yml file and rename it database.yml instead. It has some default info for connecting to PostgreSQL.
3. Configure two settings in config/server.rb4. Run the SimpleLog migration task to import the DB schema:rake simplelog:install
Or, if you want to be safe and run tests, make sure your test DB exists and then run the following rake task instead:
rake simplelog:install:tested
5. Start your server (if running locally).
All done! Proceed to Next steps → |