Monday, May 25, 2015
How to install Sqlite in ubuntu By command
you can user this command:
sudo apt-get install sqlite3 libsqlite3-dev
----------------------------------------------------
2. To create a data base, we only need to create a empty file.
touch database_name_dev.db
touch database_name_test.db
touch database_name_prod.db
3. Configure Ruby on Rails Modificar el archivo config/database.yml:
development:
adapter: sqlite3
database: db/database_name_dev.db
test:
adapter: sqlite3
database: db/database_name_test.db
production:
adapter: sqlite3
database: db/database_name_prod.db
Labels:
Ubuntu
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment