The graduation theses search system for students belonging to following
- Intelligence Information Course
- Department of Integrated Information Technology
- 2.3.0
- 5.0.0
About installation, refer to wiki (Development Environment Construction).
- MySQL 5.7 or higher
- Java Development Kit 7 or higher
- Python3
etc...
-
Start up Elasticsearh
Refer to wiki (How to Initialize and Use Elasticsearch). -
Install gems (only when you execute this app for the first time, or someone changed
Gemfile
)
(See a section described in below) -
Create your database (only when you execute this app for the first time, or someone changed files in the
db
directory)
(See a section described in below) -
Start up this app
Execute the following command.bundle exec rails s
Execute the following command if there is no bundler
gem install bundler
bundle install --path vendor/bundle
Execute the following command.
bundle exec rails db:create
bundle exec rails db:migrate:reset
bundle exec rails db:seed_fu
Create a database for test environment.
bundle exec rails db:migrate:reset RAILS_ENV=test
Execute our tests.
bundle exec rails spec
Be sure that these tests are all succeed, when you do the following
- you change server-side codes.
- commit after updateing test codes.
This app checks stylesheet syntax with stylelint. Run our tests when running this app's server. We want you to create pull requests after you confirm the tests are all succeed using them.
Execute the tests.
bundle exec rails server
If puma's server is running, all tests succeed.