Giter Site home page Giter Site logo

imo-tikuwa / militheta-gasha-simu Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 2.34 MB

アイドルマスター ミリオンライブ!シアターデイズのガシャシミュレータです(CakePHP4)

Home Page: https://milligasha.imo-tikuwa.com/

Shell 0.16% Batchfile 0.03% PHP 96.34% CSS 1.09% JavaScript 1.50% SCSS 0.60% Hack 0.08% Makefile 0.10% Dockerfile 0.10%

militheta-gasha-simu's Introduction

militheta-gasha-simu

アイドルマスター ミリオンライブ!シアターデイズのガシャシミュレータです。
ミリシタのサービス開始からこれまでに実装されたカードのデータを元にガシャのシミュレートを行うことが可能です。

デモサイト

https://milligasha.imo-tikuwa.com/

Dockerを使った環境構築

git clone https://github.com/imo-tikuwa/militheta-gasha-simu.git
cd militheta-gasha-simu
cp .env.example .env
make init

Dockerを使わない環境構築

非公開の開発用プラグインを使用しているのでcomposer installの際--no-devを付ける必要あり
また、Application.php内に記載のCake3AdminBakerプラグインの読み込みを削除する必要あり

git clone https://github.com/imo-tikuwa/militheta-gasha-simu.git
cd militheta-gasha-simu/cake_app
composer install --no-dev
bin\cake plugin unload Cake3AdminBaker
npm install
npm run build

mysql < ../env/create_millitheta.sql
mysql millitheta < ../env/millitheta.sql

.envについて

#!/usr/bin/env bash

# CakePHPの標準の設定
export APP_NAME="MillithetaGashaSimu"
export DEBUG="false"
export APP_ENCODING="UTF-8"
export APP_DEFAULT_LOCALE="ja_JP"
export APP_DEFAULT_TIMEZONE="Asia/Tokyo"
export SECURITY_SALT="jHRuXqo8amappyTo5GjUFws6iPCX4hGyVZ5zsjdPHWOk3WY9gTjgOwpzZoJYoRES"

# CakePHPのデータベース設定
export DATABASE_HOST="localhost"
export DATABASE_NAME="millitheta"
export DATABASE_PORT="33306"
export DATABASE_USER="millitheta"
export DATABASE_PASS="92xUCSRgoBqZ0qyB"

使い方

ビルトインサーバーを起動するWindows用のバッチがあります。
コマンドプロンプトから実行するかダブルクリックするかVSCodeのターミナルから呼び出してください。

env/start.bat

http://192.168.1.xxx/admin/auth/login
user: [email protected]
pass: password

ER図作成

erd直下にschemaspy-6.1.0.jarをダウンロード&配置した状態で以下実行

>java -version
java version "1.8.0_281"
Java(TM) SE Runtime Environment (build 1.8.0_281-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.281-b09, mixed mode)

>java -jar schemaspy-6.1.0.jar -vizjs

militheta-gasha-simu's People

Contributors

imo-tikuwa avatar dependabot[bot] avatar

Watchers

 avatar

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.