Skip to content

Latest commit

 

History

History
69 lines (49 loc) · 2.02 KB

SettingUpSQLite.rst

File metadata and controls

69 lines (49 loc) · 2.02 KB

Setting up the Database (SQLite3)

Installing the Database

GNU/Linux

On Debian and Ubuntu, a simple

#> aptitude install sqlite3 libsqlite3-dev

Mac OS X

Everything is already bundle inside Mac OS X.

Microsoft Windows

Configuring SQLite3

If you are using SQLite3, save the following text as config/database.yml (in the MarkUs root directory). You can use config/database.yml.sqlite3 as example:

# SQLite version 3.x
#   gem install sqlite3-ruby (not necessary on OS X Leopard)
development:
  adapter: sqlite3
  database: db/development.sqlite3
  pool: 5
  timeout: 5000

# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
  adapter: sqlite3
  database: db/test.sqlite3
  pool: 5
  timeout: 5000

production:
  adapter: sqlite3
  database: db/production.sqlite3
  pool: 5
  timeout: 5000

Now go back to the MarkUs tutorial :

  • Installation on GNU/Linux
    • [[Development environment|InstallationGnuLinux]]
    • [[Production environment|InstallProdStable]]
    • [[Old Stable (deprecated) environment|InstallProdOld]]
  • Installation on Mac OS X
    • [[Development environment|InstallationMacOsX]]
    • Production (need to be done)
  • Installation on Windows
    • [[Development environment|InstallationWindows]]