GithubHelp home page GithubHelp logo

camome's Introduction

Install したあとにすること

1. gem をインストール

$ bundle install --path vendor/bundle

2. secrets.yml を用意

$ bundle exec rake secret

上記のコマンドで生成した鍵を, config/secrets-example.yml 内の <SECRETKEY> と置換える. 置換えたら,以下のコマンドで config/secrets-example.yml を config/secrets.yml に変更.

$ mv config/secrets-example.yml config/secrets.yml

3. サブモジュールの適用

$ git submodule init
$ git submodule update

4. 初期設定

$ bundle exec rake db:migrate
$ bundle exec rak db:seed

利用方法

1. Rails server の立ち上げ

$ bundle exec rails s

上記操作後,ウェブブラウザから http://ホスト名:3000/ にアクセス

2. ログイン

ログイン初期の状態では,以下の情報でログイン可能

Login name:admin
Password:  admin

3.ユーザの作成

  • http://ホスト名:3000/users にアクセスし New User からユーザを作成
  • http://ホスト名:3000/gate/logout にアクセスし admin をログアウト
  • 作成したユーザで再度ログイン

camome's People

Contributors

danjo-m avatar ichikawa85 avatar ikeda-yuko avatar kobayashi1027 avatar murata1224 avatar okada-takuya avatar yoshinari-nomura avatar

Watchers

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