Skip to content

Commit

Permalink
Add main drawer to the seeds (#1773)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenbarragan authored Feb 19, 2025
1 parent 3fb1ea9 commit 37c0db4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions bin/docker
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ setup() {
echo "Setting up Docker environment..."
echo "Make sure searchgov-services are up and running"
docker build -f ${DOCKERFILE} -t ${IMAGE_NAME} .
docker run -it --env-file ${ENV_FILE} --network host ${IMAGE_NAME} bin/rails db:create
docker run -it --env-file ${ENV_FILE} --network host ${IMAGE_NAME} bin/rails db:schema:load
docker run -it --env-file ${ENV_FILE} --network host ${IMAGE_NAME} bin/rails db:seed
docker run -it --env-file ${ENV_FILE} --network host ${IMAGE_NAME} bin/rails usasearch:elasticsearch:create_indexes
docker run -it --env-file ${ENV_FILE} --network host ${IMAGE_NAME} bin/rails db:setup
}

build() {
Expand Down
1 change: 1 addition & 0 deletions db/seeds/drawer.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
I14yDrawer.create(handle: 'searchgov', description: 'main drawer')

0 comments on commit 37c0db4

Please sign in to comment.