Skip to content

Commit

Permalink
Update Procfile and README
Browse files Browse the repository at this point in the history
  • Loading branch information
hackartisan committed Aug 12, 2022
1 parent 12918bd commit 67f107b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 19 deletions.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Procfile
backend: bin/rails s -p 3000
frontend: bin/webpack-dev-server
frontend: bin/vite dev
sidekiq: bundle exec sidekiq
3 changes: 0 additions & 3 deletions Procfile.dev

This file was deleted.

29 changes: 14 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ formerly known as Pomegranate, but renamed to the offical brand: Digital PUL.
* Ruby
* Nodejs
* Java (to run Solr server)
* (Postgres (for OSX dev systems, install via homebrew)
* Redis (install via homebrew and run via `homebrew services`)

* Postgres
* Redis

## Initial Setup

Expand All @@ -39,12 +38,18 @@ destroy` or turn off all services with `lando poweroff`.
1. Install Lando DMG from <https://github.com/lando/lando/releases>
1. `rake servers:start`

1. For test:
- In a separate terminal: `bundle exec rspec`
1. For development:
- In a separate terminal: `foreman start`
- Or run services separately as shown in <https://github.com/pulibrary/dpul/blob/main/Procfile>
- Access DPUL at <http://localhost:3000/>
### Running Tests

```sh
bundle exec rspec
```

## Running in Development

1. Either run `foreman start` in its own terminal or run
each service listed in the [Procfile](https://github.com/pulibrary/dpul/blob/main/Procfile) in its own terminal. Running each separately makes for easier debugging.
1. Access DPUL at <http://localhost:3000/>


### Importing Data:

Expand All @@ -56,12 +61,6 @@ destroy` or turn off all services with `lando poweroff`.
5. Either wait for a solr commit or manually commit in the rails console with
`Blacklight.default_index.connection.commit`

### Running Tests

```sh
bundle exec rspec
```

### Auto-update from [Figgy](https://github.com/pulibrary/figgy)

Figgy announces events to a durable RabbitMQ fanout exchange. In order to use them, do the
Expand Down

0 comments on commit 67f107b

Please sign in to comment.