mirror of
https://github.com/System-End/hackatime.git
synced 2026-04-19 05:00:22 +00:00
* Inertia p1? * Inertia'fied signed out homepage? * Split up signed in page * WIP signed in v2? * Better signed in? * Clean up extensions page! * Fix currently hacking * Better docs page? * Docs update 2 * Clean up "What is Hackatime?" + get rid of that godawful green dev mode * Better nav? * Cleaner settings? * Fix commit times * Fix flashes + OS improv * Setup v2 * Readd some of the syncers? * Remove stray emdash * Clean up Step 3 * Oops, remove .vite * bye bye, /inertia-example * bin/rubocop -A * Fix docs vuln
23 lines
463 B
Bash
Executable file
23 lines
463 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
export PORT="${PORT:-3000}"
|
|
|
|
if command -v overmind 1> /dev/null 2>&1
|
|
then
|
|
overmind start -f Procfile.dev "$@"
|
|
exit $?
|
|
fi
|
|
|
|
if command -v hivemind 1> /dev/null 2>&1
|
|
then
|
|
echo "Hivemind is installed. Running the application with Hivemind..."
|
|
exec hivemind Procfile.dev "$@"
|
|
exit $?
|
|
fi
|
|
|
|
if gem list --no-installed --exact --silent foreman; then
|
|
echo "Installing foreman..."
|
|
gem install foreman
|
|
fi
|
|
|
|
foreman start -f Procfile.dev "$@"
|