Baldosa is an infinite community-driven canvas, where tiles are submitted by the community, and selected through an auction process.
Warning
This project is under active development and quite unstable.
Create a .env at the root of the project
with the following content:
# .env
AWS_REGION=<aws-region>
S3_SUBMIT_BUCKET=<a-bucket-for-submissions>
S3_PUBLISH_BUCKET=<a-bucket-for-published-content>Note
The publish bucket (S3_PUBLISH_BUCKET) should be publicly accessible, readable by all, with proper CORS configuration.
Then add a .env file to the publisher directory, with the following content:
# publisher/.env
RUST_LOG=info,publisher=trace
AUTH_SIMPLE_KEY=<some-secret-key>
AWS_ACCESS_KEY_ID=<aws-access-key>
AWS_SECRET_ACCESS_KEY=<aws-secret-access-key>
DATABASE_URL=sqlite://tiles.dbNote
The AWS key provided for publisher must be able to read
from S3_SUBMIT_BUCKET and write to S3_PUBLISH_BUCKET.
Run all services and serve the web app:
chmod +x ./dev.sh
./dev.shOpen browser console and enable developer mode:
setDevMode(true)