A repository for trying out new things!
A repository for trying out new things!
This project has been developed on a Linux system. To learn more about the system, visit the Dotfiles repository.
/
├── docs/
| ├── _config.yaml
| ├── CODE_OF_CONDUCT.md
| ├── README.md
| └── SECURITY.md
├── Packages/
| ├── Apache_Maven/
| ├── Containers/
| ├── npm/
| ├── NuGet/
| └── RubyGems/
├── CONTRIBUTING
└── LICENSE
Open a terminal in the directory where you store your repositories and clone it with the following command:
# HTTPS
git clone https://github.com/FJrodafo/Test.git
# SSH
git clone git@github.com:FJrodafo/Test.git
# Packages Commands
cd Apache_Maven/
mvn package
java -cp target/test-1.0.0.jar Test
# Deploy to GitHub Packages
mvn deploy
# Packages Commands
cd Containers/
docker build -t test .
docker run --rm test:latest
# Push to Docker Hub
docker tag test:latest fjrodafo/test:1.0.0
docker push fjrodafo/test:1.0.0
# Push to GitHub Packages
docker tag test:latest ghcr.io/fjrodafo/test:1.0.0
docker push ghcr.io/fjrodafo/test:1.0.0
# Packages Commands
cd npm/
npm init -y
npm start
# Publish to npm
npm run publish:npm
# Publish to GitHub Packages
npm run publish:github
# Packages Commands
cd NuGet/
dotnet new console -n test
cd test/
dotnet run
dotnet pack --configuration Release
# Push to NuGet
dotnet nuget push bin/Release/test.1.0.0.nupkg \
--api-key API_KEY \
--source https://api.nuget.org/v3/index.json
# Push to GitHub Packages
dotnet nuget push bin/Release/test.1.0.0.nupkg \
--source "github"
# Packages Commands
cd RubyGems/
ruby lib/fjrodafo/test.rb
gem build fjrodafo-test.gemspec
# Push to RubyGems
gem push fjrodafo-test-1.0.0.gem
# Push to GitHub Packages
gem push --key github --host https://rubygems.pkg.github.com/FJrodafo fjrodafo-test-1.0.0.gem
GitHub Docs · GitHub Actions · GitHub Packages · GitHub Pages