-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added firewall and cloud instructions
- Loading branch information
1 parent
701247f
commit 4d5f614
Showing
8 changed files
with
106 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
cd /vagrant | ||
cd /var/gameeso | ||
git clone -b development https://github.com/Gameeso/openkit-server.git | ||
cd openkit-server/dashboard | ||
|
||
bundle install --path vendor/bundle | ||
bundle update | ||
bundle exec bin/rake db:create RAILS_ENV=development | ||
bundle exec bin/rake db:setup RAILS_ENV=development | ||
|
||
start gameeso |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
useradd gameeso | ||
adduser gameeso sudo | ||
echo gameeso:gameeso | /usr/sbin/chpasswd | ||
sudo id -u gameeso &>/dev/null sudo useradd -m gameeso | ||
sudo adduser gameeso sudo | ||
sudo echo "gameeso:$1" | /usr/sbin/chpasswd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
date > /etc/vagrant_box_build_time | ||
|
||
mkdir /home/vagrant/.ssh | ||
mkdir /home/gameeso/.ssh | ||
wget --no-check-certificate \ | ||
'https://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' \ | ||
-O /home/vagrant/.ssh/authorized_keys | ||
chown -R vagrant /home/vagrant/.ssh | ||
chmod -R go-rwsx /home/vagrant/.ssh | ||
-O /home/gameeso/.ssh/authorized_keys | ||
chown -R gameeso /home/gameeso/.ssh | ||
chmod -R go-rwsx /home/gameeso/.ssh |