Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bor/moviedb
simple storage system for movies
https://github.com/bor/moviedb
Last synced: 11 days ago
JSON representation
simple storage system for movies
- Host: GitHub
- URL: https://github.com/bor/moviedb
- Owner: bor
- Created: 2011-08-16T06:53:28.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-09-19T20:15:02.000Z (over 11 years ago)
- Last Synced: 2023-03-11T01:20:09.679Z (almost 2 years ago)
- Language: Perl
- Homepage:
- Size: 133 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: Changes
Awesome Lists containing this project
README
moviedb
This simple app that implement a storage system for movies.
The interface is command line.
Movie information stored persistently in database(like SQLite, MySQL, etc).
For more information see perldoc App/moviedb.pmDEPENDENCIES
perl v5.10+
Config::Tiny
DBI
DBD::SQLite / maybe another in future
IO::Prompt
Try::TinyINSTALLATION
To install this app, run the following commands:
perl Makefile.PL
make
make test
make install (currently not supported)SETUP
Create database
for SQLite like:
$ sqlite3 data/moviedb.sqlite < conf/moviedb.schema.sql
for MySQL like(not tested yet):
$ mysqladmin create moviedb
$ mysql -e "GRANT ALL PRIVILEGES ON moviedb.* TO moviedb@localhost IDENTIFIED BY 'password'"
$ mysql -umoviedb -ppassword moviedb < conf/moviedb.schema.sql
$ mysql -umoviedb -ppassword moviedb -e "ALTER TABLE movie MODIFY movie_id SERIAL; ALTER TABLE star MODIFY star_id SERIAL;"Copy conf/moviedb.conf.example to conf/moviedb.conf
and edit itUSE
Run bin/moviedb and analyze output
COPYRIGHT AND LICENCE
Copyright (C) 2011-2013, Sergiy Borodych
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.