Giter Site home page Giter Site logo

piny940 / song-list Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 4.78 MB

Vtuberの歌枠データベースです。

Home Page: https://song-list.piny940.com

Ruby 47.79% JavaScript 1.27% CSS 0.29% Haml 8.65% HTML 1.87% TypeScript 37.75% SCSS 1.37% Dockerfile 0.98% Shell 0.03%

song-list's Introduction

SongList

Vtuber が歌枠で歌った曲のデータベースです。曲名や作者名・枠名などで検索が出来ます。

注意: backend サーバーには chromedriver のインストールが必要です。

本番環境

  • .env.sampleに従い.envを設定
  • docker compose up -d

開発環境

  • postgres, redisをインストール
  • バックエンド
    • bundle install
    • bundle exec db:create
    • bundle exec db:migrate
    • bundle exec db:seed
    • bundle exec rails s
    • bundle exec sidekiq
  • フロントエンド
    • npm install
    • npm run dev

直近の配信を取得し、セトリを作成する

  • docker exec -it song-list-rails sh -c "RAILS_ENV=production bundle exec rails videos:create_recent_videos_song_items"

過去の全ての配信を取得する

  • docker build -t song-list-rails-ubuntu -f backend/Dockerfile.ubuntu ./backend (コードを更新した場合のみ)
  • docker run -it --net=song-list_default --env-file backend/.env song-list-rails-ubuntu sh -c "RAILS_ENV=production bundle exec rails channels:create_all_videos"

全ての動画のセトリを作成する

  • docker exec -it song-list-rails sh -c "RAILS_ENV=production bundle exec rails videos:create_all_setlists"

song-list's People

Contributors

piny940 avatar dependabot[bot] avatar github-actions[bot] avatar

Stargazers

 avatar  avatar セプタ avatar

Watchers

 avatar

Forkers

interceptor128

song-list's Issues

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.