mirror of
https://github.com/suitenumerique/drive.git
synced 2026-09-27 20:15:04 +02:00
This commit, with contributions from Sylvain Grizard, adds support for PaaS deployment platforms such as Scalingo, which build the project on commit. It uses the La Suite Buildpack, which compiles the frontend first as static files, and serves them along with the backend with nginx.
12 lines
299 B
Bash
12 lines
299 B
Bash
#!/bin/bash
|
|
|
|
set -o errexit # always exit on error
|
|
set -o pipefail # don't ignore exit codes when piping output
|
|
|
|
echo "-----> Running post-compile script"
|
|
|
|
# Remove all the files we don't need
|
|
rm -rf src docker env.d .cursor .github compose.yaml README.md .cache
|
|
|
|
chmod +x bin/scalingo_run_web
|