Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.
Chad Ramos edited this page Mar 4, 2018 · 4 revisions

Repository

Clone the repository to your local environment.

git clone https://github.com/PioneerCode/pioneer-blog.git

Configuration

All configuration is derived from appsettings.json. That being said, it is recommended you create an appsettings.development.json and appsettings.production.json file to override these settings.

Database

  • Update the connection string inside of Pioneer.Blog\appsettings.json & Pioneer.DAL\appsettings.json.
  • Open a command prompt at Pioneer.Blog and run the following
dotnet ef database update

At this point, a database and all corresponding tables should have been created in your database instance.

Registering A Super Account

  • Launch your application in debug mode.
  • Navigate to /account/register.
    • Register a new account.
  • Open up your AspNetUserClaims and AspNetUsers table.
  • Add a new claim of the type isSuperUser
    • Supply your newly registered UserId as the FK.

alt text

You can now use this account to perform all administrative tasks.

app-client

The app-client folder holds public client code.

To build in dev.

npm start

To build for production.

npm run build

app-admin

The app-admin folder holds admin application client code.

To build in dev.

npm start

To build for production.

npm run build

Run

That is it! You now should be able to build and launch the project from your IDE of choice.

Clone this wiki locally