meta: be able to deploy the side

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
This commit is contained in:
Vincenzo Palazzo 2024-05-11 08:32:04 +02:00
parent 982750c000
commit b2eb46657d
Signed by: vincenzopalazzo
GPG Key ID: 8B6DC2B870B80D5F
9 changed files with 59 additions and 21 deletions

4
.gitignore vendored
View File

@ -1 +1,5 @@
node_modules
# Local Netlify folder
.netlify
dist

View File

@ -16,7 +16,7 @@
formatter = pkgs.nixpkgs-fmt;
devShell = pkgs.mkShell {
buildInputs = [ pkgs.just pkgs.bun ];
buildInputs = [ pkgs.just pkgs.bun pkgs.netlify-cli ];
buildPhase = "just";
shellHook = ''
export CI="false"
@ -25,4 +25,4 @@
};
}
);
}
}

View File

@ -6,10 +6,10 @@ default: fmt
{{CC}} run build
dep:
{{CC}} install
{{CC}} install; netlify init
dev:
{{CC}} --bun run dev
{{CC}} --bun run dev
fmt:
{{CC}} run format
@ -20,5 +20,5 @@ check:
clean:
{{CC}} clean
deply:
@echo "I do not know how to deploy this stuff"
deploy:
netlify deploy --prod

21
netlify.toml Normal file
View File

@ -0,0 +1,21 @@
# example netlify.toml
[build]
command = "npm run build"
functions = "netlify/functions"
publish = "dist"
## Uncomment to use this redirect for Single Page Applications like create-react-app.
## Not needed for static site generators.
#[[redirects]]
# from = "/*"
# to = "/index.html"
# status = 200
## (optional) Settings for Netlify Dev
## https://github.com/netlify/cli/blob/main/docs/netlify-dev.md#project-detection
#[dev]
# command = "yarn start" # Command to start your dev server
# port = 3000 # Port that the dev server will be listening on
# publish = "dist" # Folder with the static content for _redirect file
## more info on configuring this file: https://docs.netlify.com/configure-builds/file-based-configuration/

View File

@ -3,9 +3,11 @@
import BitcoinBasics from "./slides/BitcoinBasics.svelte";
import LightningBasics from "./slides/LightningBasics.svelte";
import LightningProblems from "./slides/LightningProblems.svelte";
import Conclusion from "./slides/Conclusion.svelte";
</script>
<Title />
<BitcoinBasics />
<LightningBasics />
<LightningProblems />
<Conclusion />

View File

@ -35,9 +35,9 @@
<section>
<h3>How Bitcoin Works</h3>
<ul>
<li>Only <b>on-chain</b> transaction does not scale</li>
<li>Only <b>on-chain</b> transactions does not scale</li>
<li class="fragment">
Small payments when there are a lot of transactions are not worted
Small payments when there are a lot of transactions are not worthed
</li>
<li class="fragment">
All the transactions are recorded on the Blockchain

View File

@ -0,0 +1,22 @@
<script>
</script>
<section>
<section>
<h3>⏳ Conclusion ⏳</h3>
</section>
<section>
<h3>Conclusion</h3>
<ul>
<li>Lightning is a big beast;</li>
<li class="fragment">
It is more complex than the Bitcoin Layer and this make upset people
</li>
<li class="fragment">Lightning make you feel as a genius, but at the same time feel stupid</li>
</ul>
</section>
<section>
<p> Thanks! </p>
</section>
</section>

View File

@ -9,7 +9,7 @@
<section>
<h3>Lightning Problems</h3>
<ul>
<li>Lightnign Network requires at lest 2 on-chain txs;</li>
<li>Lightning Network requires at lest 2 on-chain txs;</li>
<li class="fragment">Lightning Payments are unreliable</li>
<li class="fragment">
Lightning channels have liquidity management Problems
@ -17,18 +17,6 @@
<li class="fragment">Quality of implementations is low</li>
</ul>
</section>
<section>
<h3>Lightning Problems</h3>
<ul>
<li>Lightnign Network requires at lest 2 on-chain txs;</li>
<li class="fragment">Lightning Payments are unreliable</li>
<li class="fragment">
Lightning channels have liquidity management Problems
</li>
</ul>
</section>
<section>
<img
src="https://cuad.ask.fm/assets/211/678/616/normal/majin_buu_3_by_bane123_1_.jpg"

View File

@ -26,6 +26,7 @@
<li>Bitcoin Basics</li>
<li>Lightning Basics</li>
<li>Lightning Problems</li>
<li>Conclusion</li>
</ul>
</section>
</section>