|
|
@@ -1,6 +1,16 @@
|
|
|
# unakt.cc
|
|
|
Mon blog tout à fait minimaliste pas encore tout à fait fonctionnel mais c'est pas grave comme y'a rien dessus... ou presque...
|
|
|
|
|
|
+## To install this
|
|
|
+1. Install Node
|
|
|
+2. clone the repo
|
|
|
+3. go to the folder
|
|
|
+4. type "npm install"
|
|
|
+Now npm run commands should work
|
|
|
+
|
|
|
+This will use the package.json file to get what it need (dependancy of eleventy)
|
|
|
+And don't forget to do CMD+Maj+. on MacOS to show hidden files and folder (.gitignore, .eleventyignore)
|
|
|
+
|
|
|
## How-To
|
|
|
1. Follow setup on Eleventy website then
|
|
|
|
|
|
@@ -12,11 +22,11 @@ Mon blog tout à fait minimaliste pas encore tout à fait fonctionnel mais c'est
|
|
|
"build" does build the whole blog in html inside _site
|
|
|
"deploy" should copy it in my internet served folder
|
|
|
|
|
|
-⚠️ Don't use deploy !! Used only in my own scenario
|
|
|
+⚠️ Don't use deploy !! Used only in my own scenario (NAS)
|
|
|
|
|
|
> npm run start
|
|
|
This is for local testing
|
|
|
-(Don't forget to restart this when modifying the eleventy.config.js file)
|
|
|
+(Don't forget to often restart this when modifying the eleventy.config.js file)
|
|
|
|
|
|
## File Structure
|
|
|
- _drafts - ignored md files from the builder
|