Expiry date list of my food
First, you have to install SQLite. According to Rocket repository, 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
.
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
.
If you want to update CSS file, see the following process.
- Make sure that you can use Sass from the command line.
- Clone submodule repository by
git submodule update --init --recursive
. - Move to
static
directory. - Update
static/mystyles.scss
file. - Generate a new
static/css/mystyles.css
file bysass --sourcemap=none mystyles.scss:css/mystyles.css --style compressed
.
For more Sass information for Bulma, visit the documentation in Bulma.
- Rocket todo example
- This app is based on this example 🙇
- CSS framework Bulma