start writing instructions (not complete yet)
This commit is contained in:
		
							
								
								
									
										23
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										23
									
								
								README.md
									
									
									
									
									
								
							@@ -5,16 +5,23 @@ porous forum
 | 
			
		||||
Released under [CNPLv7+](https://thufie.lain.haus/NPL.html).
 | 
			
		||||
Please read the [full terms](./LICENSE.md) for proper wording.
 | 
			
		||||
 | 
			
		||||
# deps
 | 
			
		||||
this is all off the top of my head so if you try to run it got help you
 | 
			
		||||
# installing
 | 
			
		||||
1. first, install OpenResty. instructions for linux can be found [here](https://openresty.org/en/linux-packages.html).
 | 
			
		||||
2. then, install LuaJIT
 | 
			
		||||
3. then, install [LuaRocks](https://luarocks.org) (prefer your package manager instead of a local install recommended by the guide)
 | 
			
		||||
4. add luarocks search dirs to path:
 | 
			
		||||
 | 
			
		||||
- lapis
 | 
			
		||||
- lsqlite3
 | 
			
		||||
- [magick](https://github.com/leafo/magick)
 | 
			
		||||
- bcrypt
 | 
			
		||||
- luaossl
 | 
			
		||||
```bash
 | 
			
		||||
  # in .bashrc (or other shell equivalent)
 | 
			
		||||
  eval "$(luarocks --lua-version 5.1 path)"
 | 
			
		||||
```
 | 
			
		||||
5. clone repo
 | 
			
		||||
6. install the dependencies:
 | 
			
		||||
 | 
			
		||||
i think thats it
 | 
			
		||||
```bash
 | 
			
		||||
luarocks --local --lua-version 5.1 build --only-deps
 | 
			
		||||
```
 | 
			
		||||
7. rest is TBD until a start script is provided
 | 
			
		||||
 | 
			
		||||
# icons
 | 
			
		||||
the icons in the `icons/` folder are by [Gabriele Malaspina](https://www.figma.com/community/file/1136337054881623512/iconcino-v2-0-0-free-icons-cc0-1-0-license)
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										25
									
								
								porom-dev-1.rockspec
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								porom-dev-1.rockspec
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,25 @@
 | 
			
		||||
package = "porom"
 | 
			
		||||
version = "dev-1"
 | 
			
		||||
 | 
			
		||||
source = {
 | 
			
		||||
  url = "ssh://gitea@git.poto.cafe:222/yagich/porom.git"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
description = {
 | 
			
		||||
  summary = "Homegrown forum software",
 | 
			
		||||
  homepage = "",
 | 
			
		||||
  license = "CNPLv7+"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
dependencies = {
 | 
			
		||||
  "lua ~> 5.1",
 | 
			
		||||
  "lapis == 1.16.0",
 | 
			
		||||
  "lsqlite3",
 | 
			
		||||
  "magick",
 | 
			
		||||
  "bcrypt",
 | 
			
		||||
  "luaossl",
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
build = {
 | 
			
		||||
  type = "none"
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user