2/5 taken out of #1269 This patch adds the setup and teardown of Mastodon for use in the end-to-end tests Co-Authored-By: zam <mirco.zachmann@meissa.de> Co-Authored-By: erik <erik.seiert@meissa-gmbh.de> Co-Authored-By: Michael Jerger <michael.jerger@meissa-gmbh.de> Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/1274 Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org> Reviewed-by: Beowulf <beowulf@noreply.code.forgejo.org> Co-authored-by: famfo <famfo@famfo.xyz> Co-committed-by: famfo <famfo@famfo.xyz>
8 lines
195 B
Bash
Executable file
8 lines
195 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
sudo update-ca-certificates
|
|
sudo touch /opt/mastodon/log/prod.log
|
|
sudo chown mastodon: /opt/mastodon/log/prod.log
|
|
rails db:setup
|
|
bundle exec puma -C config/puma.rb
|
|
#sleep 2h
|