Skip to content

eduardo-rubio/petshop_admin

 
 

Repository files navigation

PET SHOP ADMIN

A administration system

A administration system to manage many types of business, in this case, was used a Pet Shop Admin like example.

Project Stack

  • Repository

    • Github
  • Development

    • Ruby On Rails
      • Libraries
        • Sidekiq
        • Fae
    • Redis
    • PostgreSQL
    • Mailcatcher
  • Environment

    • Docker
    • Docker-compose

Prerequisites

Have Docker installed in your machine

See how to install Docker here

Getting Started

  • To see this application working in your machine, clone this project with:
git clone [email protected]:eduardo-rubio/petshop_admin.git

Installing PET SHOP ADMIN

  • Gems install

To install the gems files run:

docker-compose run --rm app bundle install
  • Database creation and make migrations
docker-compose run --rm app bundle exec rake db:create db:migrate
  • Build the application
docker-compose build
  • Seed the database
docker-compose run --rm app bundle exec rake fae:seed_db
  • Up the application
docker-compose up

http://localhost:3000/sidekiq/

  • Redis
redis-cli -h 127.0.0.1 -p 6379 PING
  • Open Ports
docker container ls --format "table {{.ID}}\t{{.Names}}\t{{.Ports}}" -a
  • Postgres connection
{
  "label": "127.0.0.1",
  "host": "127.0.0.1",
  "user": "postgres",
  "port": 6543,
  "ssl": false,
  "database": "",
  "password": "password"
}

About

PetShop Admin Update

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 77.5%
  • Slim 10.0%
  • HTML 8.1%
  • JavaScript 2.3%
  • CSS 1.1%
  • Dockerfile 0.8%
  • SCSS 0.2%