https://github.com/infinitybotlist/persepolis
https://github.com/infinitybotlist/persepolis
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/infinitybotlist/persepolis
- Owner: InfinityBotList
- License: agpl-3.0
- Created: 2023-03-15T10:56:34.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-24T17:43:57.000Z (almost 2 years ago)
- Last Synced: 2025-05-27T20:46:19.403Z (about 1 year ago)
- Language: Rust
- Size: 5.06 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Persepolis
Persepolis is the onboarding bot for staff members on Infinity Bot List
## Database Seeds
You can find a seed of the Infinity Bot List database at https://reedwhisker.infinitybots.gg/help/contribute/seedguide. This seed is public and available for all contributors
## Contributing
- Always run ``cargo fmt`` before making a Pull Request!
- Always increment version during big changes
## MacOS cross compile
Follow https://stackoverflow.com/questions/40424255/cross-compilation-to-x86-64-unknown-linux-gnu-fails-on-mac-osx
**Use https://github.com/MaterializeInc/homebrew-crosstools for cross compiling as it is newer**
**Path update**
``PATH=/opt/homebrew/Cellar/x86_64-unknown-linux-gnu/0.1.0/bin:$PATH``
**Not always needed, try running ``make cross`` before doing the below**
Symlink ``gcc`` if needed by ring at ``/opt/homebrew/Cellar/x86_64-unknown-linux-gnu/0.1.0/bin`` based on the error you get
Replace 7.2.0 with whatever gcc version you need
``make push`` to push newly built lib. Mofidy according to your ssh ip
**If you face any build issues on macOS, try removing ``/opt/homebrew/bin/x86_64-linux-gnu-gcc`` and then ``ln -sf /opt/homebrew/bin/x86_64-unknown-linux-gnu-cc /opt/homebrew/bin/x86_64-linux-gnu-gcc``