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
# app/views/shared/_alerts.html.erb | |
<% flash.each do |key, value| %> | |
<div class="alert alert-<%= alert_style(key) %>"><%= value %></div> | |
<% end %> |
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
#!/bin/sh | |
# ngix + required packages | |
sudo apt-get update | |
sudo apt-get upgrade -y | |
sudo apt-get install curl git-core nginx build-essential tcl8.5 -y | |
# mysql | |
# sudo apt-get install libmysqlclient-dev mysql-server |