Started adapting the render-page controller to read from an sqlite file
- Added guide.db to .gitignore
- Added a function ensuire_sqlite_download
- Added DATA_SOURCE, API and SQLITE constants to ease checking the data source method used
- Renamed the cache_* variables to api_cache_*
- Changed to only load the api_cache requirements if data source is API
Used curl to load_db
- Realized SimpleCache could work just as well
- Experienced an error writing the downloaded db file
Changed to store the sqlite db in .cache/ directory
- Renamed .json-cache/ to .cache/
- Added a check to see if the local fopen was successful
- Succesfully got the sqlite db saved in .cache/ directory
Renamed $loader to $twig_loader
Switched to sqlite3 and modified data fetching to allow sqlite
Added sqlite3 to puppet php manifest, not working
- Missing sqlite being provisioned on the system
Enabled sqlite in vagrant
- Added the sqlite package from https://github.com/puppetlabs/puppetlabs-sqlite
- Changed the php puppet module to use php5-sqlite instead of php5-sqlite3
Fixed bug in fetching data from DB