- 通話と画面共有のため
- テキストチャットのため
cargo --version
cargo 1.55.0 (32da73ab1 2021-08-23)
elm --version
0.19.1
curl -L -o sass.tar.gz https://github.com/sass/dart-sass/releases/download/1.42.1/dart-sass-1.42.1-linux-x64.tar.gz
tar -zxvf sass.tar.gz dart-sass/sass
sudo mv dart-sass/sass /usr/local/bin/
sass --version
1.42.1
rm -r dart-sass sass.tar.gz
- ステップ1 のみ
Sprig ソースコードの入手
cd ~
mkdir works
cd works
git clone -b intro --recurse-submodules https://github.com/s8sato/sprig.git
code sprig
cd ~/works
git clone https://github.com/s8sato/intro-dev-web.git
mv intro-dev-web/init.local.sh sprig/
cd sprig
bash init.local.sh
cd ~/works/sprig/web
sass src/scss/style.scss style.css
elm make src/Main.elm --output=elm.js
cd ~/works/sprig/api
sudo apt install build-essential pkg-config ca-certificates libssl-dev libpq-dev
cargo build
cd ~/works/sprig/api
sudo pg_ctlcluster 12 main start
sudo -u postgres createdb sprig_my
sudo -u postgres psql sprig_my
ALTER USER postgres WITH PASSWORD 'postgres';
\q
cargo install diesel_cli --no-default-features --features postgres
diesel migration run
cd ~
mv works/intro-dev-web/sprig.sh .
bash sprig.sh
http://localhost:8000/index.html
- ロゴを入れる
/coffee
コマンドの応答メッセージを変更