This is like ShadyURL but written in Rust and better done.
Copy the env_example file to .env, edit it, run sea-orm-cli migrate -d <database URL>
, and you're off to the races.
You can add a user by using cargo run add-user <username>
and inputting a password. The login portal is at /login
.
By contributing, you agree to disclaim all copyright to your code and release it under the CC0 waiver. You also agree you have all the relevant rights to do so.
You must ensure the following before submitting a pull request:
- That all new files have a header similar to the header shown here.
- Ensure all your commits are signed off (
git commit --signoff
) and you comply with the Developer's Certificate of Origin - That you have run
cargo fmt
- That you have run
cargo clippy
and fixed any relevant issues (orcargo clippy --fix
)
All new files must include a header similar to this:
/* SPDX-License-Identifier: CC0-1.0
*
* <path to file>
*
* This file is a component of ShadyURL by Elizabeth Myers.
* The author of this file is <author> and has agreed to the below waiver.
*
* To the extent possible under law, the person who associated CC0 with
* ShadyURL has waived all copyright and related or neighboring rights
* to ShadyURL.
*
* You should have received a copy of the CC0 legalcode along with this
* work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
*/