Skip to content

rudicba/tobackup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Install on FreeBSD 9.1 or PC-BSD

pkg update

pkg install bash automake autoconf libtool bison readline libyaml curl git apache22 gcc-4.4.7,1 gmake

curl -L get.rvm.io | bash -s stable

source /etc/profile.d/rvm.sh

rvm install 2.0.0

rvm use 2.0.0 –default

gem install rails bundler passenger

passenger-install-apache2-module

cd /usr/local/www/

git clone github.com/rudicba/tobackup.git

chown -R www:www tobackup/

comment “gem ‘therubyracer’, platforms: :ruby” on Gemfile

add “gem ‘therubyracer-freebsd’, platforms: :ruby”

copy config/database.yml.example to config/database.yml

copy config/config.yml.example to config/config.yml

Install on Linux “Debian”

sudo apt-get install ruby ruby-dev build-essential libsqlite3-dev


vi ~/.gemrc

install: –no-rdoc –no-ri

update: –no-rdoc –no-ri


sudo gem install rails

cd /path/to/install

git clone github.com/rudicba/tobackup.git

cd tobackup

bundle install

cp config/database.yml.example config/database.yml

cp config/config.yml.example config/config.yml

rake db:migrate

rake secret


vi config/initializers/secret_token.rb

Tobackup::Application.config.secret_token = ‘generatesecrettoken.……’


About

Simple backup tool in rails

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published