Skip to content

Commit

Permalink
move index.html to the project directory
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Jul 10, 2024
1 parent 685c435 commit 14314e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apache/src/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pub fn setup() -> Result<String, Error> {
.with_exec(vec!["mkdir", "-p", "log"])?
.with_exec(vec![r#"[ -f log/.gitignore ] || echo -e 'error.log\naccess.log' > log/.gitignore"#])?
.with_exec(vec!["[ -f httpd.conf ] || wget https://raw.githubusercontent.com/fluentci-io/services/main/apache/httpd.conf"])?
.with_exec(vec!["[ -f index.html ] || wget https://raw.githubusercontent.com/fluentci-io/services/main/apache/web/index.html"])?
.with_exec(vec!["[ -f ../index.html ] || wget https://raw.githubusercontent.com/fluentci-io/services/main/apache/web/index.html -O ../index.html"])?
.with_exec(vec![
"grep -q web Procfile || echo 'web: apachectl start -f $PWD/httpd.conf -D FOREGROUND' >> Procfile",
])?
Expand Down

0 comments on commit 14314e6

Please sign in to comment.