chore: 📜 add initial readme and license!
This commit is contained in:
parent
1eae3db8d1
commit
3c0c870a76
2 changed files with 48 additions and 0 deletions
9
LICENSE
Normal file
9
LICENSE
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
Copyright 2024 maria <m5ka@posteo.de>
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
39
README.md
Normal file
39
README.md
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# 🍔 moku.blog
|
||||
[](https://github.com/astral-sh/ruff)
|
||||
[](https://docs.djangoproject.com/en/5.0/)
|
||||
[](https://docs.python.org/3.12/)
|
||||
[](LICENSE)
|
||||
[](https://github.com/m5ka/moku.blog/actions)
|
||||
|
||||
**moku.blog** is a small-web community for food enthusiasts.
|
||||
|
||||
## 🥐 behind the name
|
||||
**moku** is the [toki pona](https://tokipona.org/) word for "food", "drink", "eat" or, really, anything to do with consuming. it comes from the japanese onomatopoeia [もぐもぐ](https://en.wiktionary.org/wiki/%E3%82%82%E3%81%90%E3%82%82%E3%81%90#Japanese) (_mogu-mogu_) which represents the sound of chewing.
|
||||
|
||||
## 🍕 contributing
|
||||
it's great that you want to help out! a good place to start is checking in [issues](https://github.com/m5ka/moku.blog/issues) to see if what you're thinking about has already been discussed.
|
||||
|
||||
### pre-requisites
|
||||
* python 3.12 and [poetry](https://python-poetry.org/)
|
||||
* postgresql
|
||||
|
||||
### setting up the environment
|
||||
the environment is all managed by poetry so it's pretty easy to get started once you have poetry set up.
|
||||
```sh
|
||||
poetry install --with dev,test
|
||||
```
|
||||
|
||||
if you get an error about `psycopg2`, make sure you have the system package `libpq-dev` installed on your system.
|
||||
|
||||
### code-style
|
||||
all our code is linted and formatted by [ruff](https://docs.astral.sh/ruff/) so it's important to make sure any changes you make are compliant.
|
||||
|
||||
```sh
|
||||
poetry run ruff check .
|
||||
poetry run ruff format --check .
|
||||
```
|
||||
|
||||
if you want ruff to auto-format your code, you can use `poetry run ruff format .`
|
||||
|
||||
## 🧁 license
|
||||
moku.blog's code is licensed under the [bsd 2-clause license](LICENSE), which more or less means you're free to do whatever you want with it so long as any copies or modifications you make are under the same license.
|
||||
Loading…
Reference in a new issue