This app is based on Remix Jokes app tutorial and the associated livestream workshop.
It will be enhanced little by little to showcase what is possible with Remix.
The app is live on Fly.io.
yarn install
printf 'DATABASE_URL="file:./dev.db"\nSESSION_SECRET="blablablablabalbabla"' > .env
yarn db:reset
yarn dev
On Ubuntu, run:
curl -L https://fly.io/install.sh | sh
Then put the fly binary in the PATH variable, in .profile
:
# make the Fly.io tool available as fly command
if [ -d "$HOME/.fly/bin" ] ; then
PATH="$HOME/.fly/bin:$PATH"
fi
fly auth signup
This will open the browser and ask for some information, including a credit card (even if the current app works with the free tier).