Giter Site home page Giter Site logo

pri_image_db's Introduction

README

This is Capture Image Database for Pretty Series (Japanese Animation for every)

Everyone can upload and watch the Capture Image (Capture Image: Picture of Anime)

This database can link the image to the many information, character, line, animation, description, episode and more...

"Min-na Tomodachi, Min-na Idol"

Environment

  • Ruby 2.5.1

  • Rails 5.2.2

  • DB: postgresql

  • NoSQL: redis (for asynchronous processing, example: tweet regulary by sidekiq)

  • Development: Docker

  • Production: heroku

Setup for Development

clone this repository and change delectory

# build Docker Image
$ docker-compose build

# setup database
$ docker-compose run app rake db:create ridgepole:apply db:seed

# remove pids files and start server
$ rm -rf tmp/pids && docker-compose up

Access localhost:3000/ your brouwser

Stop Server: press Ctr-l c or docker-compose down

Enter Rails console

$ docker-compose run app rails c

How to Deploy

deployment for heroku

# push and deploy master branch to heroku
$ git push heroku master

# db migration
$ heroku run rake ridgepole:apply_heroku

production environment needs...

  • S3
  • postgresql
  • redis
  • parameters

pri_image_db's People

Contributors

yacchidao avatar dependabot[bot] avatar dre-yacchi avatar

Stargazers

iizuka-s3 avatar  avatar  avatar

Watchers

 avatar

pri_image_db's Issues

favicon

ほしい(誰か書いて)

model実装

必要なデータベースやらmodelを実装する

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.