An open API service indexing awesome lists of open source software.

https://github.com/infinitybotlist/persepolis


https://github.com/infinitybotlist/persepolis

Last synced: 12 months ago
JSON representation

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``