This repository has been archived by the owner on Apr 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Setup
Chad Ramos edited this page Mar 4, 2018
·
4 revisions
Clone the repository to your local environment.
git clone https://github.com/PioneerCode/pioneer-blog.git
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.
- 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.
- 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.
You can now use this account to perform all administrative tasks.
The app-client folder holds public client code.
To build in dev.
npm start
To build for production.
npm run build
The app-admin folder holds admin application client code.
To build in dev.
npm start
To build for production.
npm run build
That is it! You now should be able to build and launch the project from your IDE of choice.