Skip to content

Commit

Permalink
fix: use git version of engtagger
Browse files Browse the repository at this point in the history
  • Loading branch information
vpukhanov committed Jul 28, 2024
1 parent 753e615 commit 3c41d0c
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ gem "bootsnap", require: false
# gem "image_processing", "~> 1.2"

# Classify terms' part-of-speech
gem "engtagger"
gem "engtagger", github: "yohasebe/engtagger", ref: "v0.4.1"

group :development, :test do
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
Expand Down
12 changes: 9 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
GIT
remote: https://github.com/yohasebe/engtagger.git
revision: c941b06bbc74973f0183a099803887c1c6b4bf4e
ref: v0.4.1
specs:
engtagger (0.4.1)
lru_redux

GEM
remote: https://rubygems.org/
specs:
Expand Down Expand Up @@ -105,8 +113,6 @@ GEM
reline (>= 0.3.8)
diff-lcs (1.5.1)
drb (2.2.1)
engtagger (0.4.1)
lru_redux
erubi (1.13.0)
globalid (1.2.1)
activesupport (>= 6.1)
Expand Down Expand Up @@ -346,7 +352,7 @@ DEPENDENCIES
bootsnap
capybara
debug
engtagger
engtagger!
importmap-rails
jbuilder
puma (>= 5.0)
Expand Down
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,20 @@ The application follows standard Rails conventions. The main components are the

The project uses RSpec for unit and integration testing, run tests with `bin/rspec`.

## Deployment

Urbanite is deployed using [Kamal](https://kamal-deploy.org/). The deployment is configured in `config/deploy.yml`.

The following environment variables need to be set:

- `KAMAL_SERVER_IP`: The IP address of the deployment server
- `KAMAL_SERVER_USER`: The SSH user for the deployment server
- `KAMAL_REGISTRY_USERNAME`: Username for the Docker registry
- `KAMAL_REGISTRY_PASSWORD`: Password for the Docker registry
- `RAILS_MASTER_KEY`: The Rails master key for decrypting credentials

To deploy the application, ensure that the environment variables are set, and run `kamal deploy` or `kamal setup` if this is the first time deploying to the particular server.

## Code Style

Rubocop is used for code linting and formatting. Run `bin/rubocop -a` to automatically fix style issues. The project follows the [Ruby Omakase style guide](https://github.com/rails/rubocop-rails-omakase).

0 comments on commit 3c41d0c

Please sign in to comment.