* Update adapter to sidekiq * Remove delayed_jobs routes * Remove delayd_jobs initializer and references * Remove delayed_job_spec * Remove bin/delayed_job * Remove app/jobs/ * Migration to drop delayed_jobs table * Remove delayed_job_web & delayed_job_active_record * Update docs * Remove reference to delayed_job dashboard * Remove delayed_job settings from initializers * Add delayed_job_admin back to reserved words list
1.4 KiB
| title |
|---|
| Starting the Application |
Starting the application
We're a Rails app, and we use Webpacker to manage some of our JavaScript.
Start the application, Webpack, and our job runner Sidekiq by running:
bin/startup
(This just runs foreman start -f Procfile.dev, for notes on how to install
Foreman, please see Other Tools)
Then point your browser to http://localhost:3000/ to view the site.
If you run into issues while trying to run bin/setup and the error message
isn't helpful, try running bin/rails s -p 3000. For example, you may need to
yarn install before starting the app.
If you're working on DEV regularly, you can use alias start="bin/startup" to
make this even easier. 😊
If you're using pry for debugging in Rails, note that using foreman and
pry together works, but it's not as clean as bin/rails server.
Here are some singleton commands you may need, usually in a separate instance/tab of your shell.
- Running the job server (if using
bin/rails server) -- this is mostly for notifications and emails:bin/rails jobs:work - Clearing jobs (in case you don't want to wait for the backlog of jobs):
bin/rails jobs:clear
Current gotchas: potential environment issues with external services need to be worked out.