Skip to content

Latest commit

 

History

History
64 lines (53 loc) · 1.44 KB

README.md

File metadata and controls

64 lines (53 loc) · 1.44 KB

About The Project

Creating a Country Dropdown with Flags in Ruby on Rails 7, slim-select.js, countries gems

Blog post: https://erimicel.com/creating-a-country-dropdown-with-flags-in-ruby-on-rails-7-67df1806e433

Example dropdown: Screenshot 2023-06-07 at 01 42 47

Table of Contents
  1. Built With
  2. Getting Started
  3. Usage

Built With

Getting Started

Running this app

Clone the repo:

git clone https://github.com/erimicel/country_app.git
cd country_app

Install bundles:

bundle install

Create and migrate database:

rails db:create
rails db:migrate

Start the rails server and js/css builds

./bin/dev

Check it out in a browser:
Visit http://localhost:3000 in your favorite browser.