All Projects → chocolatey → Chocolatey.org

chocolatey / Chocolatey.org

Licence: other

Projects that are alternatives of or similar to Chocolatey.org

terraform examples
Terraform AWS Windows examples
Stars: ✭ 78 (-68.16%)
Mutual labels:  chocolatey
Mpv.net
🎞 mpv.net is a modern media player for Windows that works just like mpv.
Stars: ✭ 737 (+200.82%)
Mutual labels:  chocolatey
Chocolateypackages
My published Chocolatey packages
Stars: ✭ 128 (-47.76%)
Mutual labels:  chocolatey
Chocolatey
Chocolatey packages for JetBrains products.
Stars: ✭ 13 (-94.69%)
Mutual labels:  chocolatey
Posh Git
A PowerShell environment for Git
Stars: ✭ 5,840 (+2283.67%)
Mutual labels:  chocolatey
Chocolateygui
A delicious GUI for Chocolatey
Stars: ✭ 1,031 (+320.82%)
Mutual labels:  chocolatey
Sitecore-Courier
Sitecore Courier aims to fill the gap between the development and production environments when building websites with Sitecore CMS.
Stars: ✭ 60 (-75.51%)
Mutual labels:  chocolatey
Azure Devops Migration Tools
Azure DevOps Migration Tools allow you to migrate Teams, Backlogs, Tasks, Test Cases, and Plans & Suits from one Project to another in Azure DevOps / TFS both within the same Organisation, and between Organisations.
Stars: ✭ 218 (-11.02%)
Mutual labels:  chocolatey
Lessmsi
A tool to view and extract the contents of an Windows Installer (.msi) file.
Stars: ✭ 726 (+196.33%)
Mutual labels:  chocolatey
Cchoco
Community resource to manage Chocolatey
Stars: ✭ 115 (-53.06%)
Mutual labels:  chocolatey
choco-selenium
Installs and configures selenium standalone, hub, or node server
Stars: ✭ 16 (-93.47%)
Mutual labels:  chocolatey
Strongbox
Strongbox is an artifact repository manager.
Stars: ✭ 412 (+68.16%)
Mutual labels:  chocolatey
Cli
The command line vault (Windows, macOS, & Linux).
Stars: ✭ 1,044 (+326.12%)
Mutual labels:  chocolatey
Chocolater
Chocolater is simply a PowerShell code generator and it was conceived in order to facilitate the selection and installation of your favorite applications in one go.
Stars: ✭ 26 (-89.39%)
Mutual labels:  chocolatey
Pacaptr
Pacman-like syntax wrapper for many package managers.
Stars: ✭ 138 (-43.67%)
Mutual labels:  chocolatey
Wox.Plugin.Choco
Wox Plugin for Chocolatey
Stars: ✭ 17 (-93.06%)
Mutual labels:  chocolatey
Ansible Wsl
Provisioning your Windows from inside of WSL by Ansible
Stars: ✭ 34 (-86.12%)
Mutual labels:  chocolatey
Gitdiffmargin
Git Diff Margin displays live Git changes of the currently edited file on Visual Studio margin and scroll bar. Supports Visual Studio 2012 through Visual Studio 2019
Stars: ✭ 217 (-11.43%)
Mutual labels:  chocolatey
Au
Chocolatey Automatic Package Updater Module
Stars: ✭ 165 (-32.65%)
Mutual labels:  chocolatey
Ansible Windows Docker Springboot
Example project showing how to provision, deploy, run & orchestrate Spring Boot apps with Docker Windows Containers on Docker Windows native using Packer, Powershell, Vagrant & Ansible
Stars: ✭ 58 (-76.33%)
Mutual labels:  chocolatey

Chocolatey.org

http://chocolatey.org

CONTRIBUTING

Getting started

  1. Before starting, you will need:
    1. Node.js and npm installed globally
      • choco install nodejs-lts -y
      • refreshenv - if it says refreshing for cmd.exe, you have to close and restart PowerShell and navigate back to the folder (you need to install the PowerShell profile - reference the troubleshooting page at https://chocolatey.org/docs/troubleshooting)
      • npm install gulp -g
    2. A local running instance of SQL Server and Visual Studio 2013 or above
      • choco install sql-server-management-studio mssqlserver2014express -y (you may find a newer version of SQL Server Express)
  2. In Visual Studio, open ChocolateyGallery.sln.
    • Note if you already had this open, close it and reopen it so that it can know where npm and gulp are located - that is necessary for the build to succeed.
  3. In the Website project, open web.config
  4. Locate the connectionStrings section, and modify the NuGetGallery connection string to point to your local instance of SQL Server. It's not a bad idea to change the database name (initial catalog) just to avoid confusion. For example if your SQL Server instance is named SQL2016, you could use: <add name="NuGetGallery" connectionString="Data Source=.\SQL2016;Initial Catalog=Chocolatey;Integrated Security=SSPI;MultipleActiveResultSets=False;" providerName="System.Data.SqlClient" /> Note: the database does not need to exist
  5. Open the Package Manager Console (Tools > NuGet Package Manager > Package Manager Console)
  6. If prompted, restore any missing NuGet packages (Don't use nuget restore from the command-line as this will pull in extra packages that cause the build to break)
  7. Run the Update-Database command in Package Manager Console (if the command is not found, try reloading the solution in Visual Studio)
  8. The database named in the connection string should now exist in your SQL Server.
  9. Press F5 to start the web application
  10. You may experience an error of The CodeDom provider type Microsoft.VisualC.CppCodeProvider could not be located. This is due to what Visual Studio thinks are header files in the chocolatey\Website\node_modules folder. Make that hidden (just the top level node_modules folder).
  11. Press F5 to start the web application
  12. Your web browser should launch, showing the Chocolatey home page
  13. Head to Find Packages and then sign up, entering details to create a new account
  14. To make this account an administrator, run the following SQL against your new database eg. Use SQL Server Management Studio or sqlcmd from the command line. Note: Replace 'username' with the name of the user account you just created
DECLARE @adminId int
SELECT @adminId = [Key] FROM Roles WHERE Name = 'Admins'

DECLARE @userId int
SELECT @userId = [Key] FROM Users where Username = 'username'

INSERT INTO UserRoles(UserKey, RoleKey) VALUES(@userId, @adminId)
  1. You should now be up and running!

Known issues

When debugging, you might see this exception: SimpleInjector.ActivationException: 'The given type IControllerActivator is not a concrete type. Please use one of the other overloads to register this type.'. Just ignore this and keep running.

Leave items as they are in the nugetgallery folder

  1. Please don't fix anything in the nugetgallery folder or subfolder. Instead you should copy the unchanged item over to chocolatey/Website.
  2. Then remove the old item from the Visual Studio project and add the newly copied item to the project.
  3. Save the project and commit your changes.
  4. Make your changes as normal now.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].