https://github.com/todorm85/sf-posh
PowerShell tool for developement of the core Sitefinity CMS.
https://github.com/todorm85/sf-posh
devops powershell sitefinity
Last synced: 4 months ago
JSON representation
PowerShell tool for developement of the core Sitefinity CMS.
- Host: GitHub
- URL: https://github.com/todorm85/sf-posh
- Owner: todorm85
- Created: 2018-01-18T17:37:55.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-04-13T12:46:21.000Z (almost 2 years ago)
- Last Synced: 2024-04-14T01:14:03.981Z (almost 2 years ago)
- Topics: devops, powershell, sitefinity
- Language: PowerShell
- Homepage:
- Size: 4.87 MB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sitefinty PowerShell Module for Sitefinity core developers
## Description
Manage, provision and automate Sitefinity instances on local machine.
## Installation
Get the release branch of this repo locally or pull changes to update.
## Requirements
- Powershell 5.1 64bit
- VS 2017 (or other, but needs configuration)
- First run of internet explorer to have completed (this is required for the WebClient in .NET)
- Enabled IIS server feature, which should add the WebAdministration powershell module
## Links
[Release Notes](./sf-posh/sf-posh.psd1)
## Quickstart
In powershell console window type:
``` PowerShell
Import-Module $path # where $path is your local path to https://github.com/todorm85/Sf-PoSh/blob/release/sf-posh/sf-posh.psm1
sf-PSmodule-openConfig # opens the configuration file with its default settings and paths (set for VS2017 tools) after editing you must restart the powershell session
sf- #then press (ctrl + space), which should list all commands
sf-proj #then ctrl+space, would list all related to module`s projects commands etc.
sf-project-new -displayName test -sourcePath "any path to sitefinity web app zip or tfs branch" # this creates a new project, in case of tfs branch a separate workspace. It is automatically selected for the current session. All commands that are executed in the powershell session are modifying the currently selected project - it should be displayed on the prompt and on the console status bar.
sf-project-select # to select a different project previously created etc.
sf-project-get # returns the currently selected project object
sf-project-set # sets the project object passed to the command as the current
```