Skip to content
This repository was archived by the owner on Aug 1, 2021. It is now read-only.

Commit df69465

Browse files
committed
favicon
some docs changes
1 parent 29d35fa commit df69465

69 files changed

Lines changed: 685 additions & 17976 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,52 @@
11
![image](https://github.com/brunohbrito/JP-Project/blob/master/docs/images/logo.png?raw=true)
22

33
[![Build status](https://ci.appveyor.com/api/projects/status/08v6mg6q439x16xt?svg=true)](https://ci.appveyor.com/project/brunohbrito/jp-project)
4-
[![License](https://img.shields.io/github/license/brunohbrito/jp-project)](LICENSE)
5-
4+
[![License](https://img.shields.io/github/license/brunohbrito/jp-project.svg)](LICENSE)
65

76
Jp Project is a Open Source Quickstart for IdentityServer4.
87

8+
[<img align="right" width="100px" src="https://dotnetfoundation.org/images/logo_big.svg" />](https://dotnetfoundation.org/projects?q=identityserver&type=project)
99
Written in ASP.NET Core and Angular 6.
10-
1110
The main goal of project is to be a Management Ecosystem for IdentityServer4. Helping Startup's and Organization to Speed Up the Setup of User Management. Helping teams and entrepreneurs to achieve the company's primary purpose: Maximize shareholder value.
1211

1312
## Give a Star! :star:
14-
------------
1513

1614
Do you love it? give us a Star!
1715

16+
## How to build
17+
Jp Project is built against ASP.NET Core 2.1.
18+
19+
* [Install](https://www.microsoft.com/net/download/core#/current) the latest .NET Core 2.1 SDK
20+
* Run `build.ps1` (Powershell) or `build.bat` (cmd)
21+
22+
Wait for ng to complete his proccess then run!
23+
24+
# Expected after start project.
25+
26+
## SSO
27+
<img src="https://github.com/brunohbrito/JP-Project/blob/master/docs/images/expectedsso.JPG?raw=true" width="480" />
28+
29+
## User managemente API
30+
<img src="https://github.com/brunohbrito/JP-Project/blob/master/docs/images/expectedusermanagement.JPG?raw=true" width="480" />
31+
32+
## User Management UI
33+
<img src="https://github.com/brunohbrito/JP-Project/blob/master/docs/images/expectedangular.JPG?raw=true" width="480" />
34+
35+
Any doubts? Go to docs
36+
1837
## Docs
19-
-----
38+
2039
Wanna start? please [Read the docs](https://jp-project.readthedocs.io/en/latest/index.html)
2140

2241
## Contributing
23-
------------
42+
2443
We'll love it! Please [Read the docs](https://jp-project.readthedocs.io/en/latest/index.html)
2544

2645
## Free
27-
----
46+
2847
If you need help building or running your Jp Project platform
2948
There are several ways we can help you out.
3049

3150
# What comes next?
32-
------------------
51+
3352
Admin panel to manage IdentityServer4 configuration.

docs/configuration/certificate.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Certificate
2+
===========
3+
4+
Self-signed Certificate
5+
-----------------------
6+
To generate certificates, there is a Script ``key\cert.ps1`` that generate Self Signed Certificates.
7+
You can use it to generate certificate and user against docker, or test in your local.
8+
9+
Open up a PowerShell terminal and run the script. It’ll ask you for a certificate name, password, and then save it for you.
10+
11+
Change Config file
12+
^^^^^^^^^^^^^^^^^^
13+
14+
If a certificate is generated, to use it, change the appsettings.json. See `docs <quickstarts/ambient_variables.html>`_ for more info

docs/configuration/sql_server.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,13 @@ The file ``Startup.cs`` of **Jp.UI.SSO** and **Jp.UserManagement** has the confi
2020
2121
Both of them must point to the same config Database. You just need to config **Connection String** at Environment or at ``appsettings.json``. For Environment see `docs here <quickstarts/ambient_variables.html>`_
2222

23+
SQL on Docker
24+
-------------
25+
26+
Don't have the SQL Server on you local machine? Use it from Docker
27+
28+
.. code::
29+
30+
docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=@Password1' -e 'MSSQL_PID=Express' -p 1433:1433 -d microsoft/mssql-server-linux:latest
31+
32+
As simple as that!

docs/images/expectedangular.JPG

94.1 KB
Loading

docs/images/expectedsso.JPG

143 KB
Loading
191 KB
Loading

docs/index.rst

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,13 @@ The main goal of project is to be a Management Ecosystem for IdentityServer4. He
1414

1515
Helping teams and entrepreneurs to achieve the company's primary purpose: Maximize shareholder value.
1616

17-
Liked?
17+
See it in action
18+
19+
.. raw:: html
20+
21+
<div style="position: relative; height: 0; overflow: hidden; max-width: 100%; height: auto;">
22+
<iframe src="https://player.vimeo.com/video/288481888?color=ff9933&title=0&byline=0" width="800" height="350" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
23+
</div>
1824

1925
Give a Star!
2026
------------
@@ -61,4 +67,5 @@ There are several ways we can help you out.
6167
configuration/sql_server
6268
configuration/mysql
6369
configuration/serilog
64-
configuration/application_insights
70+
configuration/application_insights
71+
configuration/certificate

docs/quickstarts/build.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Open powershell as Admin. Navigate to build folder. Execute these commands:
4343
.. raw:: html
4444

4545
<div style="position: relative; height: 0; overflow: hidden; max-width: 100%; height: auto;">
46-
<iframe src="https://player.vimeo.com/video/288753436?color=ff9933&title=0&byline=0" width="800" height="600" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
46+
<iframe src="https://player.vimeo.com/video/288753436?color=ff9933&title=0&byline=0" width="800" height="480" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
4747
</div>
4848

4949

src/Backend/Jp.Infra.CrossCutting.IdentityServer/Configuration/SigninCredentialExtension.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public static class SigninCredentialExtension
3030
public static IIdentityServerBuilder AddSigninCredentialFromConfig(
3131
this IIdentityServerBuilder builder, IConfigurationSection options, ILogger logger, IHostingEnvironment env)
3232
{
33-
string keyType = System.Environment.GetEnvironmentVariable("CERTIFICATE_TYPE");
33+
string keyType = System.Environment.GetEnvironmentVariable("CERTIFICATE_TYPE") ?? options.GetSection("Type").Value;
3434
logger.LogInformation($"SigninCredentialExtension keyType is {keyType}");
3535

3636
switch (keyType)
Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"ConnectionStrings": {
33
// localdb
4-
// "SSOConnection": "Server=(localdb)\\mssqllocaldb;Database=JpProject;Trusted_Connection=True;MultipleActiveResultSets=true",
4+
"SSOConnection": "Server=(localdb)\\mssqllocaldb;Database=JpProject;Trusted_Connection=True;MultipleActiveResultSets=true",
55
// Sql Server connection
6-
"SSOConnection": "Server=.;Initial Catalog=JpProject;Persist Security Info=False;User ID=sa;Password=@Password1;MultipleActiveResultSets=False;Connection Timeout=30;"
6+
// "SSOConnection": "Server=.;Initial Catalog=JpProject;Persist Security Info=False;User ID=sa;Password=@Password1;MultipleActiveResultSets=False;Connection Timeout=30;"
77
// MySql connection
88
//"SSOConnection": "server=localhost;database=JpProject;user=bruno;password=pass"
99
},
@@ -16,16 +16,17 @@
1616
}
1717
},
1818
"Storage": {
19-
"AccountName": "jzresgate",
20-
"AccountKey": "dUOhvevD3xi7KHw2e+yLInqjCncLN9HPAp4ltG2A8ACflbmIqX1/faRUAWLaPhDBcSJKS0McUAeuJkq7e14sng=="
19+
"AccountName": "jpproject",
20+
// Will be deactivated asap
21+
"AccountKey": "WyDWcXZykeX3hA/WteVm3j2w7ryZlBUqBzamxHmohViWs9VQHXlxJNH0BBHn2TSAQ1HE8Ys1+MvsHaUSwZiqDA=="
2122
},
2223
"EmailConfiguration": {
2324
"SmtpServer": "smtp.gmail.com",
2425
"SmtpPort": 587,
25-
"SmtpUsername": "sistemas@jzresgate.com.br",
26-
"SmtpPassword": "Sjz23447138",
27-
"FromName": "Sistemas",
28-
"FromAddress": "sistemas@jzresgate.com.br",
26+
"SmtpUsername": "donotreply@jpproject.com",
27+
"SmtpPassword": "<secret>",
28+
"FromName": "Jp Project Team",
29+
"FromAddress": "donotreply@jpproject.com",
2930
"SendEmail": "false"
30-
}
31+
},
3132
}

0 commit comments

Comments
 (0)