Skip to content

Commit

Permalink
improve structure
Browse files Browse the repository at this point in the history
  • Loading branch information
gpproton committed Jul 15, 2023
1 parent 3e68cbc commit 097f65a
Show file tree
Hide file tree
Showing 20 changed files with 45 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ chmod +x ./setup.sh
./setup alias
```

```powershell
.\setup.ps1
```

## Roadmap for utilities
- [x] Alias setup
- [ ] Basic servers setup
Expand Down
1 change: 1 addition & 0 deletions certificate/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# unix certificate content
1 change: 1 addition & 0 deletions common/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# shared content
1 change: 1 addition & 0 deletions darwin/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Mac OSX (Darmwin) content
1 change: 1 addition & 0 deletions debian/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Debain content
File renamed without changes.
1 change: 1 addition & 0 deletions docker/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Kubernetes content
1 change: 1 addition & 0 deletions kubernetes/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Kubernetes content
1 change: 1 addition & 0 deletions openSUSE/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# openSUSE content
8 changes: 7 additions & 1 deletion setup.ps1
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
## Content
#Requires -RunAsAdministrator

## TODO: Shows admin execution examples
# powershell Start-Process powershell -Verb runAs
# Start-Process PowerShell -Verb runAs -ArgumentList "-file c:\temp\powershell\powershellexamplescript.ps1"

Read-Host -Prompt "Press Enter to exit"
1 change: 1 addition & 0 deletions setup/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# shared setup content
File renamed without changes.
1 change: 1 addition & 0 deletions windows/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# windows content
9 changes: 9 additions & 0 deletions windows/core.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
####################################
### core windows requirements
####################################

#Requires -RunAsAdministrator

Install-Module -Name PowerShellGet -Force
Update-Module -Name PowerShellGet
Install-PowerShell -Scope CurrentUser -AllowPrerelease
2 changes: 2 additions & 0 deletions windows/dev-tool-setup.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#Requires -RunAsAdministrator

Write-Output "Installing Mozilla Firefox Developer Edition"
winget install --id=Mozilla.Firefox.DeveloperEdition -e
Write-Output "Installing Github Packages"
Expand Down
2 changes: 2 additions & 0 deletions windows/docker-setup.ps1
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
#Requires -RunAsAdministrator

Write-Output "Installing Docker Desktop"
winget install docker
2 changes: 2 additions & 0 deletions windows/essential-setup.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#Requires -RunAsAdministrator

Write-Output "Setup permission elevation package"
winget install --id=gsudo gerardog.gsudo -e
Write-Output "Installing Notepad Plus Plus"
Expand Down
2 changes: 2 additions & 0 deletions windows/ide-setup.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#Requires -RunAsAdministrator

Write-Output "Installing VsCode"
winget install vscode
Write-Output "Installing Microsoft Visual Studio 2022"
Expand Down
2 changes: 2 additions & 0 deletions windows/package-manager-setup.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#Requires -RunAsAdministrator

## Winget stup for windows
if ((Get-ComputerInfo | Select-Object -expand OsName) -match 10) {
Write-Output "Starting Winget setup"
Expand Down
6 changes: 6 additions & 0 deletions windows/wsl-setup.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
####################################
### Windows linux setup sub system
####################################

#Requires -RunAsAdministrator

Write-Output "Setting up Windows Linux SubSystem..."
Enable-WindowsOptionalFeature -Online -FeatureName 'Microsoft-Windows-Subsystem-Linux' -All -NoRestart
Enable-WindowsOptionalFeature -Online -FeatureName 'VirtualMachinePlatform' -All -NoRestart
Expand Down

0 comments on commit 097f65a

Please sign in to comment.