Giter Site home page Giter Site logo

karada-memo's Introduction

からだメモ

Sorry, this document is Japanese only

「からだメモ」とは、症状をメモとして記録ておけるサービスです。

System dependencies

  • Ruby 2.5.1
  • Ruby on Rails 5.2.0
  • PostgreSQL 10.4

Setup

リポジトリをクローン後、以下を実行してください。

$ cd karada-memo
$ bin/setup

コマンドが完了するとデータベースと一緒にデモ用のデータも作られます。

以下のコマンドでサーバーを起動してください。

$ bin/rails s

サーバーが起動したらブラウザから次のURLにアクセスしてください。

http://localhost:3000

デモ用のユーザーのログイン情報は以下のとおりです。

パスワードはいずれもpasswordです。

How to run the test suite

テストは以下のコマンドから実行できます。

$ bin/rspec

Deployment instructions

以下の手順でHerokuにデプロイすることができます。

次のAddonをセットアップしてください。

以下の環境変数を設定してください。

環境変数名
DATABASE_URL <Heroku PosgresのデータベースURL>
DOMAIN <Herokuのドメイン>
RAILS_MASTER_KEY <master.keyの値>
SENDGRID_API_KEY <SendGridのapiキー>
SENDGRID_PASSWORD <SendGridのパスワード>
SENDGRID_USERNAME <SendGridのユーザー名>
TZ Asia/Tokyo

以下のコマンドを実行します。

$ git push heroku master
$ heroku run bin/rails db:migrate
$ heroku open

karada-memo's People

Contributors

bellwood4486 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.