Compare commits

..

No commits in common. "2bcf76618ae97091ecffc10d2aa1e947186df782" and "b66a5bb3e127a2b7be554dcfc0a0384c41888ffc" have entirely different histories.

3 changed files with 10 additions and 27 deletions

View File

@ -10,18 +10,14 @@ gem "sequel", "~> 5.72"
gem "tilt", "~> 2.2" gem "tilt", "~> 2.2"
gem "cucumber", "~> 9.0"
gem "sqlite3", "~> 1.6" gem "sqlite3", "~> 1.6"
gem "erubi", "~> 1.12" gem "erubi", "~> 1.12"
group :development do
gem "cucumber", "~> 9.0"
gem "capybara", "~> 3.39" gem "capybara", "~> 3.39"
gem "rspec", "~> 3.12" gem "rspec", "~> 3.12"
gem "selenium-webdriver", "~> 4.13" gem "selenium-webdriver", "~> 4.13"
end

View File

@ -79,7 +79,7 @@ GEM
process-metrics (~> 0.2.0) process-metrics (~> 0.2.0)
protocol-rack (~> 0.1) protocol-rack (~> 0.1)
samovar (~> 2.1) samovar (~> 2.1)
ffi (1.16.2) ffi (1.15.5)
fiber-annotation (0.2.0) fiber-annotation (0.2.0)
fiber-local (1.0.0) fiber-local (1.0.0)
io-event (1.3.2) io-event (1.3.2)
@ -92,7 +92,7 @@ GEM
nokogiri (1.15.4) nokogiri (1.15.4)
mini_portile2 (~> 2.8.2) mini_portile2 (~> 2.8.2)
racc (~> 1.4) racc (~> 1.4)
openssl (3.2.0) openssl (3.1.0)
process-metrics (0.2.1) process-metrics (0.2.1)
console (~> 1.8) console (~> 1.8)
samovar (~> 2.1) samovar (~> 2.1)
@ -136,13 +136,13 @@ GEM
rexml (~> 3.2, >= 3.2.5) rexml (~> 3.2, >= 3.2.5)
rubyzip (>= 1.2.2, < 3.0) rubyzip (>= 1.2.2, < 3.0)
websocket (~> 1.0) websocket (~> 1.0)
sequel (5.73.0) sequel (5.72.0)
bigdecimal bigdecimal
sqlite3 (1.6.6) sqlite3 (1.6.6)
mini_portile2 (~> 2.8.0) mini_portile2 (~> 2.8.0)
sys-uname (1.2.3) sys-uname (1.2.3)
ffi (~> 1.1) ffi (~> 1.1)
tilt (2.3.0) tilt (2.2.0)
timers (4.3.5) timers (4.3.5)
traces (0.11.1) traces (0.11.1)
websocket (1.2.10) websocket (1.2.10)

View File

@ -5,19 +5,6 @@ Roda, Falcon, Sequel, and SQLite
the point of this project is to quickly build something and work on continuous deployment while making small refinements to the functional pieces. the point of this project is to quickly build something and work on continuous deployment while making small refinements to the functional pieces.
before running the server, you must build the database by running the following:
first you have to install the dependencies:
`bundle install`
if you want the development group included run this first:
`bundle config set --local with 'development'
after the dependencies are installed, you have to create the db
`sequel -m db/migrations sqlite://db/url_shortener.db` `sequel -m db/migrations sqlite://db/url_shortener.db`
to start the application with Falcon:
`rackup -o {ip address} -p {port} -s falcon`