Created
November 14, 2022 05:19
-
-
Save ilialloyd/c19d4444e884c50b7fe9ec4855b22079 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tomcat | |
start tomcat 9 manually | |
C:\Program Files\Apache Software Foundation\Tomcat 9.0\bin | |
Tomcat9w -> start | |
checker - netstat -aon |find /i "listening" |find "8080" | |
killer - taskkill /F /P | |
Spring boot | |
To run on Windows command line | |
cd link to project file | |
Create .jar file | |
to create jar file you have 2 way | |
if you have maven installed | |
mvn package -to create jar file | |
if not | |
mvnw package | |
To run application | |
link to "target file inside project" for example | |
cd C:\Users\Owner\IdeaProjects\Spring\SpringBoot\crud-boot-thymeleaf-security\target | |
java -jar crud-0.0.1-SNAPSHOT.jar | |
or | |
stay main project file and | |
mvn spring-boot:run | |
username: user | |
password: check command line for generated password | |
Angular | |
https://angular.io/cli | |
cd package | |
ng new "projectname" -> create new project | |
cd projectfile | |
ng serve -> run project | |
code . -> open vscode | |
ng g service | |
ERROR | |
ng : File C:\Users\Owner\AppData\Roaming\npm\ng.ps1 cannot be loaded because running scripts is disabled on this system. | |
Step 1 | |
First, you have to need to open the command prompt and run this command. | |
set-ExecutionPolicy RemoteSigned -Scope CurrentUser | |
Step 2 | |
Now you have to run the second command on your system. This command is: | |
Get-ExecutionPolicy | |
Step 3 | |
To view their policy, you need to run this command in your command prompt: | |
Get-ExecutionPolicy -list | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment