Clone with
git clone git://git.awl.red/neallred/recipes
Recipes📎
Simple recipe sharing app.
Re-start the db with
rm $HOME/.recipes.db
sqlite3 $HOME/.recipes.db '.read ops/model.sql'
After adding a user through the UI, you can seed them some recipes with
sqlite3 $HOME/.recipes.db '.read dev/seed.sql'
Tests📎
- See https://git.awl.red/~neallred/recipes_integration
Admin📎
cmd/passhash.main.go can help generate the sql to reset a password.
From there, it is up to the maintainer of the instance to properly stop the app, run a sqlite shell, and run the command to reset the password.
RECIPES_CONNECTION="$HOME/.recipes.db" go run main.go
.gitignore
2 years ago
README.md
Yesterday
go.mod
last week
go.sum
last week
base_no_htmx.html
2 days ago
htmx.go
Yesterday
index.html
Yesterday
login.html
2 days ago
new_recipe.html
2 days ago
recipe_details.html
2 days ago
recipe_edit.html
2 days ago
recipes_for_later.html
2 days ago
recipes_for_later_edit.html
2 days ago
recipes_search.html
Yesterday
signup.html
2 days ago
user_edit.html
2 days ago
logging.go
2 years ago
main.go
1 year ago