GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — sequent-examples/building-a-web-application/README.md at master · zilverline/sequent-examples

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
49 lines (35 loc) · 920 Bytes
/

README.md

Copy path

File metadata and controls

49 lines (35 loc) · 920 Bytes
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Blog example

This contains the blog app from the Building a web application guide.

Setup your environment

git clone https://github.com/zilverline/sequent-examples.git
cd building-a-web-application
rbenv install
gem install bundler
bundle install

Initialize the app

To create the database and tables:

cd building-a-web-application
bundle exec rake sequent:db:create
bundle exec rake sequent:db:create_view_schema
bundle exec rake sequent:migrate:online
bundle exec rake sequent:migrate:offline

Start the app

cd building-a-web-application
bundle exec rackup -p 4567

Open localhost:4567

Testing

To create the test database:

cd building-a-web-application
SEQUENT_ENV=test bundle exec rake sequent:db:create

And running the spec:

SEQUENT_ENV=test bundle exec rspec
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.