Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
Python 2.x
$ python -m SimpleHTTPServer 8000
require 'spec_helper' | |
describe "Homepage" do | |
before :each do | |
visit "/index.html" | |
end | |
it "has a title" do | |
expect(page).to have_css("h1", text: "GitHub Help") |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000