Skip to content

mreeder/RandomQuotes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RandomQuotes NewStarter

An application used for new starters to help them onboard and learn Octopus Deploy.

Please fork this to your account. Modifications, outside of making changes to keep the application up to date with the latest versions of plug-ins or to fix a bug should be avoided.

Get me started!

After forking this repo, run the script get-started.ps1 as an admin.

The setup script assumes the following when setting this up for local runs.

  1. You want to have chocolatey installed.
  2. You want IIS and .NET 5 installed.
  3. You want SQL Server Express installed.
  4. You are running SQL Server Express with the instance name (local)\SQLExpress.
  5. You have a database named RandomQuotes_Local.
  6. You allow sql logins and have a user created named svcRandomQuotes_Local.
  7. The password is the default password Password01!.

Settings

The application is made up of two components, a web ui, and a database. The database is deployed using dbup.

Web UI Settings

The order of preference when pulling variables is:

  1. appsettings.json
  2. environmentname.appsettings.json
  3. environment variables (useful when running as a container0

The settings that can be changed in Octopus Are:

  • DefaultConnection: Connection string in the database.
  • AppVersion: The release number.
  • EnvironmentName: The name of the environment.

Random Quotes DB Up Settings

This is a command line application that accepts two parameters:

  • ConnectionString: the connection string to the database. Sent in as --ConnectionString="CONNECTION STRING"
  • PreviewReportPath: the path of the preview HTML report (useful for approvals). Sent in as --PreviewReportPath="PATH TO REPORT FILE"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published