PHOTOFS_DEPLOY_PATH
PHOTOFS_GIT_PATH
PHOTOFS_RBENV_RUBY
PHOTOFS_SOURCE_PATH
PHOTOFS_MOUNT_PATH
- Update the GEM version.
- Apply version tag with
tag-version.sh
. - Push tags to remote:
git push origin --follow-tags
- Deploy locally with
deploy.sh TREE-ISH
- (Optional) install latest photofs gem to default gemset for photo-utils
In photofs directory gem build photofs.gemspec
In default, global gemset: gem install src/photofs/photofs/photofs-0.X.X.gem
MySQL
# drop database DB;
create user 'username'@'localhost' identified by 'password';
create database DB character set utf8mb4 collate utf8mb4_bin;
grant all privileges on DB.* to 'DB'@'localhost';
FLUSH PRIVILEGES;
photofs init .
(photofs import images .)
(photofs import tags)