Mac Siri
a9cead5c91
Update bin/setup's db setup logic ( #7644 )
...
* Update bin/setup's db setup logic
* Remove duplicate seeds
2020-05-01 11:32:54 -04:00
Molly Struve
b4644783ef
setup Elasticsearch before we setup the database for new dev environments ( #7534 )
2020-04-27 10:42:35 -05:00
Thai Pangsakulyanont
5d97ca86c5
Improve docker setup script ( #7378 )
...
* Add set -e to docker-setup script
* Add error handling for db setup stage
* Sometimes Elasticsearch takes time to boot up
* Also delete docker_data
* search:setup must come first
* Revert "Sometimes Elasticsearch takes time to boot up"
This reverts commit e975f6e5c3edad084d4f2c4d8718675bf5c8d07c.
Reason for revert:
Instead of using wait-on, we can use Docker’s health check instead
See review comment:
https://github.com/thepracticaldev/dev.to/pull/7378#discussion_r411839255
* Use wait-on without installing into package.json
* Add /usr/src/app/node_modules to volumes
Otherwise, webpacker will not run in docker-compose.
See: https://stackoverflow.com/questions/30043872/docker-compose-node-modules-not-present-in-a-volume-after-npm-install-succeeds
2020-04-24 18:45:27 -04:00
Michael Kohl
741420893a
Add Solargraph gem for Gitpod ( #7171 )
2020-04-09 15:54:56 +02:00
Michael Kohl
1d069d8ed1
Unset DATABASE_URL in .gitpod.yml ( #7059 )
...
* Unset DATABASE_URL in .gitpod.yml
* Only run bin/setup once
* Try alternative approach for unsetting DATABASE_URL
* Update bin/setup
* Consistently use db_url
* Fix bug caused by typo (= instead of ==)
2020-04-03 15:56:43 +02:00
briwa
604e76dd88
refactor(docker-setup): use bash instead of ruby ( #6935 )
...
* refactor(docker-setup): use bash instead of ruby
* refactor: use a proper header
* refactor: bash -> sh
2020-03-30 10:13:52 +02:00
Michael Kohl
9b12080478
A docker_setup script ( #6827 )
2020-03-27 18:48:32 -04:00
Molly Struve
8fb1acd903
setup ES test environment during bin/setup ( #6891 )
2020-03-26 13:07:06 -05:00
Michael Kohl
99da2a0863
Run rails app:update for 5.2.4.2 ( #6743 ) [deploy]
...
* Run rails app:update for 5.2.4.2
* Remove bin/update and disable ActiveStorage
2020-03-23 10:38:20 -04:00
rhymes
235367e073
Make bin/setup predictable and repeatable and remove bin/update ( #6566 )
...
* Make bin/setup predictable and remove bin/update
* System not puts
* Give priority to ENV DATABASE_URL
2020-03-10 15:46:23 +01:00
Molly Struve
36147cce28
run Elasticsearch update before update scripts ( #6504 )
2020-03-06 13:27:53 -05:00
Alex
b81c2e8df3
Remove delayed_job ( #6071 ) [deploy]
...
* 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
2020-02-14 10:00:26 -08:00
Molly Struve
0bfbd9bb1f
Set Up Framework For Running Data Update Scripts ( #6025 ) [deploy]
2020-02-13 10:48:23 -05:00
Mac Siri
a4a846fc74
Add foreman to bin/setup ( #6007 )
2020-02-10 16:08:57 -05:00
Molly Struve
a13533c920
Setup Elasticsearch indexes during Deploy and Local App Setup ( #5939 )
...
* setup Elasticsearch indexes during deploy and local app setup
* cleanup previous duplicate sentence
* remove more duplicate docs
2020-02-07 09:01:58 -05:00
Josh Puetz
af9c4832c5
Correct startup script and docs ( #5940 )
2020-02-06 17:04:54 -05:00
rhymes
8e6ca966ed
Switch from chromedriver-helper to webdrivers ( #2465 ) [ci skip]
2019-04-16 13:46:23 -04:00
Mac Siri
7147428821
Update Rails version on README [ci skip]
2019-04-03 14:15:17 -04:00
rhymes
3a53d5797e
Upgrade Rails to 5.2.3 ( #1408 )
2019-04-03 13:08:59 -04:00
Abraham Williams
fdd18e6bb1
Simplify development setup ( #2143 )
2019-03-25 12:53:39 -04:00
Jess Lee
7bf9a8ce89
Delayed Jobs Investigation ( #929 )
...
* disallow nil reactables to be saved
* investigation wip
* passes deleted comment info to async bust cache
* fixes failing cache buster spec
* Create user_delete_a_comment_spec.rb
* Fix broken spec
* Binstub RuboCop
* Do not save comments when they are getting destroyed
* break update_reactable into smaller methods
2018-10-17 17:03:20 -04:00
rhymes
e588fa7ece
Code cleanups ( #659 )
...
* Initial automatic cleanup with rubocop
* Fix syntax error introduced by rubocop
* Cleanup seeds file
* Cleanup lib folder
* Exclude bin folder because it contains auto generated files
* Make Rubocop a little bit more chatty
* Block length should not include comments in the count
* Cleanup config folder
* Cleanup specs
* Updated Rubocop version and generated a todo file
* Fix broken ArticlesApi spec
* Fix tests
* Restored rubocop pre-commit hook
2018-08-07 11:00:13 -04:00
Andy Zhao
96c97d3a3e
Update readme with new ways for dev env data ( #85 )
...
* Update readme with new ways for dev env data
* Make download data instructions more clear
2018-03-16 14:16:42 -04:00
Mac Siri
301c6080e3
Initial commit
2018-02-28 16:11:08 -05:00