Small adjustment to the project
This commit is contained in:
1
.idea/htmxtailwindtest.iml
generated
1
.idea/htmxtailwindtest.iml
generated
@@ -9,5 +9,6 @@
|
|||||||
<orderEntry type="inheritedJdk" />
|
<orderEntry type="inheritedJdk" />
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
<orderEntry type="library" name="inter" level="application" />
|
<orderEntry type="library" name="inter" level="application" />
|
||||||
|
<orderEntry type="library" name="inter" level="application" />
|
||||||
</component>
|
</component>
|
||||||
</module>
|
</module>
|
||||||
6
.idea/jsLibraryMappings.xml
generated
6
.idea/jsLibraryMappings.xml
generated
@@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="JavaScriptLibraryMappings">
|
|
||||||
<file url="file://$PROJECT_DIR$" libraries="{inter}" />
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
1
.idea/webResources.xml
generated
1
.idea/webResources.xml
generated
@@ -7,6 +7,7 @@
|
|||||||
<resourceRoots>
|
<resourceRoots>
|
||||||
<path value="file://$PROJECT_DIR$/assets" />
|
<path value="file://$PROJECT_DIR$/assets" />
|
||||||
<path value="file://$PROJECT_DIR$/autoassets" />
|
<path value="file://$PROJECT_DIR$/autoassets" />
|
||||||
|
<path value="file://$PROJECT_DIR$/static" />
|
||||||
</resourceRoots>
|
</resourceRoots>
|
||||||
</entryData>
|
</entryData>
|
||||||
</entry>
|
</entry>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Intro
|
# RSS Notifier
|
||||||
### Some things to do before the good things can happen
|
### Some things to do before the good things can happen
|
||||||
|
|
||||||
Install Diesel and Watchexec:
|
Install Diesel and Watchexec:
|
||||||
@@ -22,6 +22,8 @@ or (with or without `--watch`)
|
|||||||
pnpm compile
|
pnpm compile
|
||||||
```
|
```
|
||||||
|
|
||||||
|
You need to run the Tailwind compilation before Cargo build.
|
||||||
|
|
||||||
### How to Dev like a pro
|
### How to Dev like a pro
|
||||||
My suggestion is to open one terminal and run `pnpm devrun` to continously rebuild
|
My suggestion is to open one terminal and run `pnpm devrun` to continously rebuild
|
||||||
the Tailwind css and restart/rebuild the Rust server if a template file change.
|
the Tailwind css and restart/rebuild the Rust server if a template file change.
|
||||||
@@ -88,6 +88,7 @@ async fn main() -> Result<()> {
|
|||||||
.layer(tracelayer).layer(cors);
|
.layer(tracelayer).layer(cors);
|
||||||
// Launch Web Server
|
// Launch Web Server
|
||||||
let app = Router::new()
|
let app = Router::new()
|
||||||
|
// TODO: Serve a mano di favicon
|
||||||
.nest_service("/assets", ServeDir::new("assets"))
|
.nest_service("/assets", ServeDir::new("assets"))
|
||||||
.nest_service("/autoassets", ServeDir::new("autoassets"))
|
.nest_service("/autoassets", ServeDir::new("autoassets"))
|
||||||
.route("/", get(index))
|
.route("/", get(index))
|
||||||
|
|||||||
BIN
static/favicon.png
Normal file
BIN
static/favicon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.7 KiB |
Reference in New Issue
Block a user