Phylator / phylator

A simple but powerful calculator for physics
https://phylator.com
Apache License 2.0
1 stars 0 forks source link
calculator physics

Phylator

A simple but powerful calculator for physics.

https://phylator.com

Data

View at, enhance or add to Phylator's data:

Development

This project uses asdf as version manager, Yarn as JavaScript package manager, and Bundler for Rubygems.

Dependencies are listed in the .tool-versions file.

  1. Clone this repository

    $ git clone ssh://git@github.com/Phylator/phylator.git

  2. Install dependencies

    $ asdf install
    $ yarn install
    $ bundle install
  3. Credentials setup

    Customize credentials.yml.sample EDITOR=vim be rails credentials:edit

    Copy .env.sample to .env and customize

  4. Database setup

    $ rails db:setup

  5. Start development server

    $ bundle exec foreman start -f Procfile.dev

Testing

This project uses a number of packages for testing and linting:

$ bundle exec rspec
$ bundle exec rubocop
$ bundle exec haml-lint
$ yarn run stylelint
$ yarn run eslint

Deployment

The master branch of this repository is automatically deployed on Heroku.