{"repo":"kreibaum/pacosako","free":true,"listed":false,"github":"https://github.com/kreibaum/pacosako","clone":"git clone https://github.com/kreibaum/pacosako.git","description":"This code drives the pacoplay.com website where you can play Paco Ŝako.","language":"Rust","stars":28,"topics":["rust","elm","game-development"],"license":"MIT","category":"game-templates","readme_excerpt":"Pacosako This is the codebase for the pacoplay.com website. It has a frontend written in Elm and a backend written in Rust based on the Axum server framework. If you want to help with the translation, you can do so on our Weblate project: Running the Project for Development Sorry, this is a bit of a mess. Install Required Software If you want to run the development environment locally, you will need to have installed: - Rust, rustup, wasm-pack - cargo binstall wasm-pack - Elm and elm-watch and elm-spa (via npm) - terser (via npm) - brotli - sqlx-cli (must be 0.5 :-/), e.g. via cargo install sqlx-cli --version ^0.5 - typescript (via npm) For the npm packages, consider - sudo npm install -g elm elm-spa@latest typescript terser --unsafe-perm=true --allow-root If you want to work on the AI, you also need - julia And there is some work towards a python package as well - python3 Set up Database The project uses SQLx for database access. You need to create a database before it can compile the rust code. If you are getting error: error returned from database: disk I/O error when running this, check if maybe you deleted database.sqlite but kept around the database.sqlite-wal and database.sqlite-shm files. If so, delete them. Fake a Secrets File You can't get the real discord client secret, so you need to create a fake one. We use Discord to manage logins so we don't have to deal with emails and account recoveries. Build everything The project has a few internal development tools that ","default_branch":null,"files":null,"tree":[],"storefront":"/r/kreibaum","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kreibaum/pacosako/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}