idk
This commit is contained in:
parent
7eb1366a85
commit
561eeec3a6
2 changed files with 4 additions and 4 deletions
|
@ -66,7 +66,7 @@
|
||||||
hugo
|
hugo
|
||||||
go
|
go
|
||||||
nodejs
|
nodejs
|
||||||
tailwindcss_4
|
# tailwindcss_4
|
||||||
# sbcl'
|
# sbcl'
|
||||||
clippy
|
clippy
|
||||||
rustc
|
rustc
|
||||||
|
@ -108,7 +108,7 @@
|
||||||
echo
|
echo
|
||||||
'';
|
'';
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
tailwindcss -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit && hugo --gc --minify
|
NODE_ENV=production ./themes/blowfish/node_modules/tailwindcss/lib/cli.js -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit && hugo --gc --minify
|
||||||
${pkgs.hugo}/bin/hugo --minify
|
${pkgs.hugo}/bin/hugo --minify
|
||||||
'';
|
'';
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
|
@ -75,7 +75,7 @@ async fn main() -> std::io::Result<()> {
|
||||||
.with(logfile_layer.with_filter(filter).and_then(stdout_layer));
|
.with(logfile_layer.with_filter(filter).and_then(stdout_layer));
|
||||||
let _ = tracing::subscriber::set_global_default(subscriber).wrap_err("Tracing broked");
|
let _ = tracing::subscriber::set_global_default(subscriber).wrap_err("Tracing broked");
|
||||||
|
|
||||||
std::fs::create_dir_all("/storage/logs/tfcsite")?;
|
std::fs::create_dir_all("/tmp/tfcsite")?;
|
||||||
|
|
||||||
info!("starting HTTP server at http://localhost:4242");
|
info!("starting HTTP server at http://localhost:4242");
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@ async fn main() -> std::io::Result<()> {
|
||||||
App::new()
|
App::new()
|
||||||
.app_data(data.clone())
|
.app_data(data.clone())
|
||||||
.wrap(TracingLogger::<DomainRootSpanBuilder>::new())
|
.wrap(TracingLogger::<DomainRootSpanBuilder>::new())
|
||||||
.app_data(TempFileConfig::default().directory("/storage/logs/tfcsite"))
|
.app_data(TempFileConfig::default().directory("/tmp/tfcsite"))
|
||||||
.service(mt_form)
|
.service(mt_form)
|
||||||
.service(health_form)
|
.service(health_form)
|
||||||
.service(mt_parent_form)
|
.service(mt_parent_form)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue