- Download version 0.9.0
- .NET Core SDK 3.1
- Nodejs 12.16+
- Docker for Ubuntu
- Docker Compose for Ubuntu
- Install OpenSSL
After you installed DotNet SDK 3.1, run two commands below to generate two self-signed certificates letportal.pfx and letportal-cms.pfx
Ensure OpenSSL has been installed on Linux OS. We will use
openssl to generate instead of
You will be promted about password, just type letportal
Check carefully the path below to make sure the cert location. It should be stayed in $HOME/.aspnet/https
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout $HOME/.aspnet/https/letportal.key -out $HOME/.aspnet/https/letportal.crt sudo openssl pkcs12 -export -out $HOME/.aspnet/https/letportal.pfx -inkey $HOME/.aspnet/https/letportal.key -in $HOME/.aspnet/https/letportal.crt sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout $HOME/.aspnet/https/letportal-cms.key -out $HOME/.aspnet/https/letportal-cms.crt sudo openssl pkcs12 -export -out $HOME/.aspnet/https/letportal-cms.pfx -inkey $HOME/.aspnet/https/letportal-cms.key -in $HOME/.aspnet/https/letportal-cms.crt
Unzip source code and move to folder path
cd ./src/web-apis, then run the script
cd ./src/web-apis ./installation.sh
Next, re-login SSH to make sure the installation is complete. Try to run with command
Ensure you stay in the path
./src/web-apis and Docker is running. You run the command below to start pulling and running docker compose
docker-compose -f docker-compose-lnx.yml up
After three services are running, you open new Powershell tab and check status with
Next, open new terminal/SSH tab and run step by step five commands below to install LET Portal database
letportal portal install -c mongodb://localhost:27117/letportal letportal portal install -c mongodb://localhost:27117/letportal -pn cms letportal identity install -c mongodb://localhost:27117/letportal letportal identity install -c mongodb://localhost:27117/letportal -pn cms letportal blog install -c mongodb://localhost:27117/cms
.\src\web-portal folder and then run the command
npm install -g. The command will help to install all related packages to run Angular.
Later, you just run the command below
npm run debug
Then open browser tab, type the urls following the order to ignore self-signed SSL security:
Later on you will see the login page below in
Open new tab, enter the url
https://localhost:5104/blogs/dotnet-core, it will show you these posts in DotNet blog.
Then click on Read more button on Simple Blog 99 to view post detail. Next step is we will use LET Portal to change the content in this post.
Now back to LET Portal, login with account
admin/@Dm1n!. Then choose CMS app, open the left menu, choose Blogs under Features.
In the Blogs page, click on pdf icon in the row of .NET Core to navigate to CMS Posts page.
Enter the text "99" in Search box, press Enter to see Post 99. Then click to edit icon to navigate to Edit Post page.
Change the value of Title, Content and tags. Then press Update to apply new change.
Now back to tab of Post 99, press Ctrl + F5 to refresh the change.