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

Commit 32acccd

Browse files
committed
docs
1 parent 2a12bff commit 32acccd

25 files changed

Lines changed: 1239 additions & 848 deletions

docs/_static/css/custom.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
kbd
2+
{
3+
-moz-border-radius:3px;
4+
-moz-box-shadow:0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset;
5+
-webkit-border-radius:3px;
6+
-webkit-box-shadow:0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset;
7+
background-color:#f7f7f7;
8+
border:1px solid #ccc;
9+
border-radius:3px;
10+
box-shadow:0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset;
11+
color:#333;
12+
display:inline-block;
13+
font-family:Arial,Helvetica,sans-serif;
14+
font-size:11px;
15+
line-height:1.4;
16+
margin:0 .1em;
17+
padding:.1em .6em;
18+
text-shadow:0 1px 0 #fff;
19+
}

docs/conf.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767

6868
# The name of the Pygments (syntax highlighting) style to use.
6969
pygments_style = 'sphinx'
70+
highlight_language = 'csharp'
7071

7172

7273
# -- Options for HTML output -------------------------------------------------
@@ -99,10 +100,19 @@
99100

100101

101102
# -- Options for HTMLHelp output ---------------------------------------------
103+
def setup(app):
104+
app.add_stylesheet('css/custom.css')
102105

103106
# Output file base name for HTML help builder.
104107
htmlhelp_basename = 'JpProjectdoc'
105108

109+
import os
110+
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
111+
112+
if not on_rtd: # only import and set the theme if we're building docs locally
113+
import sphinx_rtd_theme
114+
html_theme = 'sphinx_rtd_theme'
115+
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
106116

107117
# -- Options for LaTeX output ------------------------------------------------
108118

23.5 KB
Loading

docs/index.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Helping teams and Entrepretneurs to achieve the company's primary purpose: Maxim
1313
Contributing
1414
------------
1515

16-
Wanna contribute? Check
16+
Wanna contribute? Check the `Contributing Section <intro/contributing.html>`_
1717

1818
Free
1919
^^^^
@@ -33,11 +33,11 @@ There are several ways we can help you out.
3333
.. toctree::
3434
:maxdepth: 2
3535
:hidden:
36-
:caption: GetStart
36+
:caption: Get Start
3737

38-
quickstart/build
39-
quickstart/ambient_variables
40-
quickstart/docker_support
38+
quickstarts/build.rst
39+
quickstarts/ambient_variables.rst
40+
quickstarts/docker_support
4141

4242

4343
.. toctree::

docs/intro/architecture.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ This project was developed aiming the best practices.
55

66
Equinox Project
77
---------------
8-
To achieve this the ASP.NET Core Architecture was based on `Equinox Project <https://github.com/EduardoPires/EquinoxProject/>`_.
8+
The ASP.NET Core Architecture was based on `Equinox Project <https://github.com/EduardoPires/EquinoxProject/>`_.
99

1010
Angular 6
1111
---------
1212

13-
To manage user and new one's a SPA Angular 6 was created. But instead begin of nothing, the `CoreUI <https://github.com/coreui/coreui-angular>`_ Admin was used.
13+
To manage existing user and new one's a SPA Angular 6 was created. But instead begin of nothing, the `CoreUI <https://github.com/coreui/coreui-angular>`_ Admin was used.
1414

1515
Application Insights ready
1616
--------------------------
1717

18-
You can To monitor Application in production ambient with Application Insights.
18+
You can monitor Application in production ambient with Application Insights.
1919

2020

2121
Technologies
@@ -40,6 +40,7 @@ ASP.NET CORE
4040
* Event Sourcing
4141
* Unit of Work
4242
* Repository and Generic Repository
43+
* Serilog
4344

4445
Angular 6
4546
^^^^^^^^^^

docs/intro/contributing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ Please start a discussion on the `issue tracker <https://github.com/brunohbrito/
1414

1515
Platform
1616
^^^^^^^^
17-
JpProject is built against ASP.NET Core and runs on .NET Framework 4.6.1 (and higher) and .NET Core 2.1 (and higher).
17+
Backend of JpProject is built against ASP.NET Core and runs on .NET Framework 4.6.1 (and higher) and .NET Core 2.1 (and higher).
1818

19-
SPA is built against Angular 6 and runs on Node and Angular Cli 6.
19+
The Frontend SPA is built against Angular 6 and runs on Node and Angular Cli 6.

docs/quickstarts/ambient_variables.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
Ambient variables
33
#################
44

5-
Using Ambient var you can minimize efforts for publish and change configuration.
5+
Using Ambient var you can minimize efforts to change configuration after publish.
66

docs/quickstarts/build.rst

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
=========
2+
First Use
3+
=========
4+
5+
In this section you will learn the basics to Get Ready!
6+
7+
Pre-requisites
8+
--------------
9+
10+
To build solution you need to certify about these components first
11+
12+
* `.NET Core 2.1 <https://www.microsoft.com/net/download>`_
13+
* `node 8 <https://nodejs.org/en/>`_
14+
* npm 5
15+
* `Angular CLI 6.1 <https://github.com/angular/angular-cli/wiki>`_
16+
17+
18+
Build Files
19+
-----------
20+
21+
After :download:`download <https://github.com/brunohbrito/JP-Project/archive/master.zip>` or `clone <https://github.com/brunohbrito/JP-Project>`_ the initial state of project is:
22+
23+
* Use Sql Server LocalDb
24+
* Temporary Certificate
25+
* Auto Migration enabled
26+
27+
Using build.bat
28+
^^^^^^^^^^^^^^
29+
30+
Open folder *build* and execute build.bat. The file will install Nuget and NPM dependencies. Then compile and run.
31+
32+
Using build.ps1
33+
^^^^^^^^^^^^^^
34+
35+
Sometimes there are missing parameters at Environment Path, so the build.bat can't build.
36+
37+
Open powershell as Admin. Navigate to build folder. Execute these commands:
38+
39+
* Set-ExecutionPolicy Unrestricted
40+
* .\build.ps1
41+
* Set-ExecutionPolicy AllSigned
42+
43+
.. raw:: html
44+
45+
<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>
47+
</div>
48+
49+
50+
Using VS and VSCode
51+
--------------------
52+
53+
The default way to Start the project.
54+
55+
SSO and API
56+
^^^^^^^^^^^
57+
To load project open src/JpProject.sln vith Visual Studio. Now you need to set Multiple Startup Projects.
58+
59+
.. image:: ../images/multiple-startup-project.png
60+
61+
Run the project
62+
63+
User Management
64+
^^^^^^^^^^^^^^^
65+
66+
Open VSCode then go to File > Open Folder > Locate src\Frontend\Jp.UserManagement.
67+
68+
Open Terminal :kbd:`CTRL` + :kbd:`'`. Type:
69+
70+
* npm install
71+
* ng serve
72+
73+
Wait and open Browser at http://localhost:4200
74+
75+
.. raw:: html
76+
77+
<div style="position: relative; height: 0; overflow: hidden; max-width: 100%; height: auto;">
78+
<iframe src="https://player.vimeo.com/video/288762840?color=ff9933&title=0&byline=0" width="800" height="600" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
79+
</div>

docs/quickstarts/quickstart.srt

Lines changed: 0 additions & 5 deletions
This file was deleted.

keys/cert.ps1

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
param (
22
[Parameter(Mandatory=$true)][string]$certificatename,
3-
[Parameter(Mandatory=$true)][SecureString]$certificatepassword,
4-
[Parameter(Mandatory=$true)][string]$path
3+
[Parameter(Mandatory=$true)][SecureString]$certificatepassword
54
)
65
# setup certificate properties including the commonName (DNSName) property for Chrome 58+
76
$certificate = New-SelfSignedCertificate `
@@ -18,7 +17,7 @@ $certificate = New-SelfSignedCertificate `
1817
-TextExtension @("2.5.29.37={text}1.3.6.1.5.5.7.3.1")
1918
$certificatePath = 'Cert:\CurrentUser\My\' + ($certificate.ThumbPrint)
2019
# create temporary certificate path
21-
$tmpPath = $path
20+
$tmpPath = (Get-Item -Path ".\" -Verbose).FullName;
2221
If(!(test-path $tmpPath))
2322
{
2423
New-Item -ItemType Directory -Force -Path $tmpPath

0 commit comments

Comments
 (0)