https://github.com/sera619/makeenvi-powershell
Powershell create automatic code project!
https://github.com/sera619/makeenvi-powershell
code-project powershell powershell-automation
Last synced: 4 months ago
JSON representation
Powershell create automatic code project!
- Host: GitHub
- URL: https://github.com/sera619/makeenvi-powershell
- Owner: sera619
- Created: 2023-02-26T18:29:41.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-02-28T17:26:15.000Z (almost 3 years ago)
- Last Synced: 2024-12-27T11:20:04.990Z (about 1 year ago)
- Topics: code-project, powershell, powershell-automation
- Language: PowerShell
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MakeEnvi - Codeprojectassistant #
> UNDER DEVELOPMENT
>
> This Powershellscript will create new code projects.
Features
> - create Base Filesystem with common folders
> - Python will create a venv for you and activate this automaticly
> - JavaScript will create a html, css, JavaScript for you
> - For all langs it create:
> - README.md
> - config.yml
> - .gitignore
Supported languages
>| Language | Supported |
>|:----------:|:-----------:|
>| Python| ✔️ |
>| JavaScript| ✔️ |
## Usage ##
> If you already dont know what a Powershell-Profile is open below otherwise skip.
What is a Powershell-Profile?
>
> Microsoft provide a PowerShell-Script in your user directory that will always execute if you start a new PowerShell-Terminal.
>
> You can use this to create own shortcuts for example if you dont want type the same path again and again.
>
> Or you want provide some custom scripts that you can easy access via console.
>
> Here we install the script.
>
Installation
> **Make sure you have [Visual Code](https://code.visualstudio.com/Download) and [Python 3.8+](https://www.python.org/downloads/) installed!**
>
> Copy the content from the [script](https://raw.githubusercontent.com/sera619/MakeEnvi-Powershell/master/MakeEnvi.ps1)
>
> Open a PowerShell-Terminal and type:
>
>```powershell
>explorer $profile
>```
>
> A Editor Window will appear with your profile opened.
>
> Paste the copied script code somewhere in the script.
>
> Save file and restart the terminal.
>
> Make sure you edite the \ variable in the script to your root code directory on **C:\\** !
>
>```powershell
>function MakeEnvi {
> param (
> $lang, $name
> )
> Write-Host ""
> if ($lang -and $name){
> # Set this to your Codedirectory
> $codedir = "" # <----- example Codes
> #
> if ($codedir -eq ""){
> ...
>```
>
> Should look like this:
>
>```powershell
>function MakeEnvi {
> param (
> $lang, $name
> )
> Write-Host ""
> if ($lang -and $name){
> # Set this to your Codedirectory
> $codedir = "Codes" # <----- example Codes
> #
> if ($codedir -eq ""){
> ...
>```
> Now you can use the Helper!
Use command
> Open a Powershell-Terminal and type the command above
>
> The "codelanguage" and "projectname" represent your inputs
>
>```Powershell
>MakeEnvi codelanguage projectname
>```
>
> Your project should be Created
>