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
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<rewrite> | |
<rules> | |
<rule name="Rewrite to index.php"> | |
<match url="index.php|robots.txt|images|test.php" /> | |
<action type="None" /> | |
</rule> | |
<rule name="Rewrite CI Index"> |
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
#!/usr/bin/env bash | |
yum -y update | |
yum -y install httpd | |
yum -y install php | |
yum -y install mysql | |
yum -y install mysql-server | |
yum -y install php-mysql | |
#Turn on services on restart | |
/sbin/chkconfig httpd on |
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
#!/usr/bin/env bash | |
sudo apt-get -y update | |
sudo apt-get -y install build-essential zlib1g-dev libssl-dev libreadline-gplv2-dev libyaml-dev | |
cd /tmp | |
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz | |
tar -xvzf ruby-1.9.3-p125.tar.gz | |
cd ruby-1.9.3-p125/ | |
./configure --prefix=/usr/local | |
make | |
make install |
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
describe "Articles" do | |
it "creates a new article" do | |
article = create(:article) | |
visit new_article_path | |
fill_in "Name", :with => article.name | |
fill_in "Content", :with => article.content | |
click_button "Create Article" | |
page.should have_content("Article was successfully created.") | |
end | |
end |
NewerOlder