https://github.com/yammmt/shokuzai
Expiry date list of my food
https://github.com/yammmt/shokuzai
bulma diesel rocket rust tera todo
Last synced: 6 months ago
JSON representation
Expiry date list of my food
- Host: GitHub
- URL: https://github.com/yammmt/shokuzai
- Owner: yammmt
- License: mit
- Created: 2020-05-09T09:04:19.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2025-08-11T20:19:40.000Z (12 months ago)
- Last Synced: 2025-10-11T04:06:09.290Z (10 months ago)
- Topics: bulma, diesel, rocket, rust, tera, todo
- Language: Rust
- Homepage:
- Size: 271 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# shokuzai

Expiry date list of my food

## Usage
First, you have to install SQLite. According to [Rocket repository](https://github.com/SergioBenitez/Rocket/tree/master/examples/todo), for example:
- OS X: `brew install sqlite`
- Debian/Ubuntu: `apt-get install libsqlite3-dev`
Then, clone this repository and run Rust program.
If you don't have **nightly** Rust, please install it with `rustup install nightly`.
```bash
git clone https://github.com/yammmt/shokuzai.git
cd shokuzai
cargo run # or `cargo run --release`
```
You can access your site by accessing `http://localhost:8000`.
### CSS
If you want to update CSS file, see the following process.
1. Make sure that you can use Sass from the command line.
1. Clone submodule repository by `git submodule update --init --recursive`.
1. Move to `static` directory.
1. Update `static/mystyles.scss` file.
1. Generate a new `static/css/mystyles.css` file by `sass --sourcemap=none mystyles.scss:css/mystyles.css --style compressed`.
For more Sass information for Bulma, visit [the documentation in Bulma](https://bulma.io/documentation/customize/with-sass-cli/).
## Links
- [Rocket todo example](https://github.com/SergioBenitez/Rocket/tree/master/examples/todo)
- This app is based on this example :bow:
- CSS framework [Bulma](https://bulma.io/)