adamhilton / AHNet

adamhilton.net - an ASP.NET Core website
MIT License
1 stars 0 forks source link

adamhilton.net - an ASP.NET Core website

Build status License

DEPRECATED!

Due to deep coupling with adamhilton.net branding in the project and trademark issues surrounding the domain, I've decided to move development of this project to a new repository to rebrand and restructure the project.

quick start

  1. navigate to src/AHNet.Web
  2. run 'dotnet user-secrets set AHNET_ADMINUSER {admin-user-name} && dotnet user-secrets set ANET_ADMINPASS {admin-user-password}'
  3. run 'dotnet run --Environment=Development' in AHNet.Web project
  4. site should be running on localhost:5000

supported databases

supported environment variables

AHNET_ADMINUSER (Required) - used to set initial admin username

AHNET_ADMINPASS (Required) - used to set initial admin password

AHNET_DBTYPE (Required) - used to select which database to use

AHNET_DBHOST (Required if database is not in memory) - used as part of db connection string if a non in-memory database is chosen

AHNET_DBNAME (Required if database is not in memory) - used as part of db connection string if a non in-memory database is chosen

AHNET_DBOWNER (Required if database is not in memory) - used as part of db connection string if a non in-memory database is chosen

AHNET_DBPASSWORD (Required if database is not in memory) - used as part of db connection string if a non in-memory database is chosen

AHNET_DBPORT (Required if database is not in memory) - used as part of db connection string if a non in-memory database is chosen

AHNET_DBPOOLING (Required if database is not in memory) - used as part of db connection string if a non in-memory database is chosen

license

MIT License