https://github.com/evnix/autoscaler-server
https://github.com/evnix/autoscaler-server
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/evnix/autoscaler-server
- Owner: evnix
- License: bsd-2-clause
- Created: 2016-02-18T13:22:15.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-19T14:58:35.000Z (over 10 years ago)
- Last Synced: 2025-03-01T02:42:36.632Z (over 1 year ago)
- Language: Ruby
- Size: 56.6 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# autoscaler-server
````
cd ~
mkdir -p test
cd test
apt-get install git
#install ruby
apt-add-repository ppa:brightbox/ruby-ng
apt-get update
sudo apt-get install ruby2.3
gem install net-ssh
gem install net-scp
gem install sinatra
git clone https://github.com/evnix/autoscaler-server.git
cd autoscaler-server
chmod -R 0777 data
#fix config
vi server.config????
#clean DB
echo "" > data/db.yaml
ruby supervisor.rb
````
Dependencies:
````
gem install net-ssh
gem install net-scp
gem install sinatra
gem install usagewatch
````
Fog
deployer running without update
wait: time.now
latest: 0000-00-00
deployed: 0000-00-00
if wait <= time.now
if deployed < latest
deploy!
deployer running after update
wait: x
latest: 10
deployed: 0000-00-00
if time.now >= wait
if deployed < latest
deploy!