mirror of
https://github.com/astuto/astuto.git
synced 2025-12-14 18:57:51 +01:00
16 lines
371 B
Bash
Executable File
16 lines
371 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
sh docker-entrypoint.sh
|
|
|
|
# Needed to run .bin/dev
|
|
yarn install --check-files
|
|
|
|
# Generate Swagger documentation (don't know why it's not passed from container to host)
|
|
echo "Generating Swagger documentation..."
|
|
bundle exec rake rswag:specs:swaggerize
|
|
echo "Swagger documentation generated."
|
|
|
|
# Launch Rails server + yarn build:css + yarn build
|
|
./bin/dev |