You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
7 months ago | |
---|---|---|
accounts | 3 years ago | |
conf | 7 months ago | |
frontend | 7 months ago | |
tessellation | 7 months ago | |
.editorconfig | 3 years ago | |
.gitignore | 3 years ago | |
COPYING | 4 years ago | |
Makefile | 7 months ago | |
NOTICE | 7 months ago | |
README.md | 7 months ago | |
manage.py | 4 years ago | |
poetry.lock | 7 months ago | |
pyproject.toml | 7 months ago | |
setup.py | 7 months ago | |
tox.ini | 7 months ago |
README.md
Tessellation
A web app to arrange tiles according to specified rules.
Tessellation allows you to upload square images and define how they connect. The app will then try to arrange the tiles into a larger composition adhering to the connection rules. This is similar to the Wang tiles problem.
Installation
Mac
$ brew install poetry yarn
$ make setup
Arch Linux
# pacman -S python-poetry yarn
$ make setup
Other systems
Install these dependencies manually:
- Python >= 3.8
- yarn
- poetry
Then run:
$ make setup
Usage
Start a development server
$ make run
$ make frontend
Create database:
$ make create-db
Create database tables, superuser, and populate the db with fixtures:
$ make migrate create-superuser populate-db
Start a development server with production settings.
Dependencies:
- pwgen
$ make run-prod
Development
Testing and linting
make test
make lint
Help
make help
Contributing
Feel free to remix this project under the terms of the GNU General Public License version 3 or later. See COPYING and NOTICE.