mirror of
https://github.com/HidemaruOwO/MicroRepository.git
synced 2025-05-13 13:13:09 +09:00
4.4 KiB
4.4 KiB
MyRepository 📚
A template that gathers the minimal structure of my repository.
🚀 Features
- SIMPLE REST API
- COOK APPLE PIE
🛠 Installation
brew install my-repository
🏗 Install from Source
git clone https://github.com/HidemaruOwO/MyRepository.git
cd MyRepository
# build command (e.g: go build, cargo build, pnpm run build)
make -j8
install -Dm0755 -t "dist/builded-binary" "/usr/local/bin/"
🎯 Usage
# running local host 3000
MyRepository
- To run the service automatically, you can set it up with
systemd
:
# run as a service.
sudo systemctl enable --now MyRepository.service
# if u alerdy using interception.
sudo systemctl restart MyRepository.service
MyRepository.service file
[Unit]
Description=My Repository Web API
After=network.target
[Service]
#User=user
#WorkingDirectory=/home/user/app
ExecStart=/usr/local/bin/MyRepository
Restart=always
StandardOutput=journal
StandardError=journal
Environment=PATH=/usr/bin:/usr/local/bin
[Install]
WantedBy=multi-user.target
🌍 For contributer
By contributing to this project, you agree to the following terms:
- You grant a license: You grant the project owner a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license to use, modify, distribute, and sublicense your contributions under the Apache License 2.0.
- You retain ownership: You still own the copyright of your contribution, but you waive any claims against the project related to your contribution.
- No additional patent rights: You do not grant additional patent rights beyond what is covered by Apache 2.0.
- Your contributions are original: You confirm that your contributions do not violate any third-party rights.
By submitting a pull request, you agree to these terms.
📜 License
This project is dual-licensed under Apache License 2.0 and SUSHI-WARE LICENSE.
A reference to the latest license should be used, even if the attached license is outdated of major versions.
🤝 Reference
This repository was created using the MicroRepository template.