Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
freem
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Openai/693c70a4-9498-8011-87ee-efb5576cc53d
(section)
Add languages
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== Run everything under: ==== <syntaxhighlight lang="bash">cd ~/projects/wsi-website </syntaxhighlight> ===== <syntaxhighlight lang="bash">rm -rf site/* ===== </syntaxhighlight> ===== You already have build-meta.sh. Run: ===== <syntaxhighlight lang="bash">chmod +x build-meta.sh ./build-meta.sh </syntaxhighlight> After this, verify: <syntaxhighlight lang="bash">cat site/build-info.json </syntaxhighlight> You should see fields like timestamp, git commit, etc (depending on how we scripted it last time). ===== Assuming your package.json has a script like: ===== <syntaxhighlight lang="json">"scripts": { "build": "tailwindcss ... && <copy src -> site>", "dev": "..." } </syntaxhighlight> Use: <syntaxhighlight lang="bash">npm install # first time or when deps change npm run build </syntaxhighlight> Verify that the built files exist: <syntaxhighlight lang="bash">tree -L 3 site </syntaxhighlight> You should see something like: <syntaxhighlight lang="bash">site βββ assets β βββ css β βββ favicon.ico β βββ style.css βββ en β βββ about.html β βββ index.html βββ index.html βββ zh βββ about.html βββ index.html </syntaxhighlight> :
Summary:
Please note that all contributions to freem are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 (see
Freem:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)