init the git!
This commit is contained in:
		
							
								
								
									
										45
									
								
								Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										45
									
								
								Makefile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,45 @@
 | 
				
			|||||||
 | 
					vpath %.md src
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					########## Variables ##########
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					dependencies = lowdown
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					markdown = $(wildcard src/*.md)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					pages = $(patsubst src/%.md, public/%.html, $(markdown))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					targets += $(pages)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ignored += public/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ignore_file = .git/info/exclude
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					########## Build Instructions ##########
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.PHONY: help
 | 
				
			||||||
 | 
					help: ## Print the help message.
 | 
				
			||||||
 | 
						@awk 'BEGIN {FS = ":.*?## "} /^[0-9a-zA-Z._-]+:.*?## / {printf "\033[36m%s\033[0m : %s\n", $$1, $$2}' $(MAKEFILE_LIST) | \
 | 
				
			||||||
 | 
							sort | \
 | 
				
			||||||
 | 
							column -s ':' -t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.PHONY: check
 | 
				
			||||||
 | 
					check: ## Check you have all dependencies.
 | 
				
			||||||
 | 
						@$(foreach dep, $(dependencies), \
 | 
				
			||||||
 | 
							command -v $(dep) >/dev/null || { echo Install $(dep) && exit 1 ;} ;\
 | 
				
			||||||
 | 
						)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.PHONY: site
 | 
				
			||||||
 | 
					site: $(targets) $(ignore_file) ## Make the website in public/.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					$(ignore_file): $(MAKEFILE_LIST)
 | 
				
			||||||
 | 
						echo $(ignored) | tr ' ' '\n' > $@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					public/:
 | 
				
			||||||
 | 
						mkdir $@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					$(pages): public/%.html: %.md | public/
 | 
				
			||||||
 | 
						lowdown $< > $@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.PHONY: clean
 | 
				
			||||||
 | 
					clean:
 | 
				
			||||||
 | 
						$(RM) $(targets)
 | 
				
			||||||
							
								
								
									
										25
									
								
								README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								README.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,25 @@
 | 
				
			|||||||
 | 
					This is a text-copy of the current wiki.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Why?
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					The current `wiki.js` wiki has:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- no branches (nobody can propose a change, they can only make it),
 | 
				
			||||||
 | 
					- no version control (I have no idea how to back it up),
 | 
				
			||||||
 | 
					- no automation (we can't check if all the links work),
 | 
				
			||||||
 | 
					- `Javascript`.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Why Not?
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					> What about a GUI for people to type into?
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- Click [here](https://gitea.dmz.rs/Decentrala/wiki/_edit/master/README.md).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					> What about the old wiki?
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- We can port it over.
 | 
				
			||||||
 | 
					- Can someone help me port it over? (I can't sign in).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					> How will it look?
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- Like [this](https://themes.gohugo.io/themes).
 | 
				
			||||||
							
								
								
									
										19
									
								
								src/index.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								src/index.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,19 @@
 | 
				
			|||||||
 | 
					# Znanje
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Svako može držati predavanje na bilo koju temu, samo se najavite na forumu.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Decentrala veruje da svako treba da ima pristup znanju, zbog cega su predavanja uvek besplatna i bez promocija.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Ako zelite nesto da podelite sa drugima sto ste naucili, prijavite se da drzite jedno ili vise predavanja!
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Akcija
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Organizovanje dogadjaja programiranja ili instalacije servisa koje pomazu u decentralizaciji Interneta.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Organizujemo hackathone kao posebne dogadjaje na kojima se okupljamo da radimo na zajednickom cilju.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Druzenje
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Drustvene dogadjaje u cilju socijalizacije.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Ako zelite da se druzite sa ljudima zainteresovanim za ravnopravnost koriscenja tehnologija, slobodnog softvera, privatnost i bezbednost, posetite neku od okupljanja Decentrale.
 | 
				
			||||||
		Reference in New Issue
	
	Block a user