This file contains hidden or 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
<dependencies> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-test</artifactId> | |
<scope>test</scope> |
This file contains hidden or 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
set shell := ["powershell.exe", "-c"] | |
default: build run | |
build: | |
mvn install | |
run: build | |
java -jar ./target/SpringApi-0.0.1-SNAPSHOT.jar | |
This file contains hidden or 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
spring.application.name=crudapi | |
spring.datasource.url=jdbc:mysql://localhost:3306/Nombre_de_mi_base_de_datos?createDatabaseIfNotExist=true | |
spring.datasource.username=root | |
spring.datasource.password= | |
spring.datasource.driver-class-name=com.mysql.jdbc.Driver | |
spring.jpa.show-sql:true | |
spring.jpa.hibernate.ddl-auto:create-drop | |
This file contains hidden or 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
git remote set-url origin https://HASH_DEL_ACCESS_TOKEN@github.com/AlejandroSoftwareDeveloper/Nombre_de_proyecto_en_github | |
git push origin main |
This file contains hidden or 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
BIN = ./bin/project_name | |
SRC=./src | |
OBJ=./obj | |
CFLAGS= -g -Wall | |
SRCS=$(wildcard $(SRC)/*.c) | |
OBJS=$(patsubst $(SRC)/%.c,$(OBJ)/%.o,$(SRCS)) | |
CC=gcc | |
$(BIN): $(OBJS) | |
$(CC) $(CFLAGS) $(OBJS) -o $@ |
This file contains hidden or 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
BIN = ./bin/ | |
SRC=./src | |
OBJ=./obj | |
CFLAGS= -g -Wall | |
SRCS=$(wildcard $(SRC)/*.c) | |
OBJS=$(patsubst $(SRC)/%.c,$(OBJ)/%.o,$(SRCS)) | |
CC=gcc | |
LINKS= -lmingw32 -lgdi32 | |
$(BIN): $(OBJS) |
This file contains hidden or 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
git remote set-url origin https://mipersonalaccesskey@github.com/AlejandroSoftwareDeveloper/Nombre_de_proyecto_en_github | |
git push origin main |
This file contains hidden or 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
spring.application.name=ProjectName | |
spring.datasource.url=jdbc:postgresql://localhost:5432/DataBaseName?createDatabaseIfNotExist=true | |
spring.datasource.username=root | |
spring.datasource.password= | |
# Hibernate Configuration | |
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect | |
spring.datasource.driver-class-name=org.postgresql.Driver | |
spring.jpa.show-sql=true | |
spring.jpa.hibernate.ddl-auto=create-drop |
This file contains hidden or 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
set shell := ["powershell.exe", "-c"] | |
sms1 := '***EJECUTANDO_CORRECCION_DE_CODIGO***' | |
inits := "Iniciando_servidor_artisan." | |
ends := "Se_cerro_el_servidor_artisan." | |
initn := "Iniciando_servidor_npm" | |
endn := "Se_cerro_servidor_npm" | |
# lista de comandos | |
[windows] | |
default: |
This file contains hidden or 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
npm config set proxy http://myuser:mypassword@proxy:8080 | |
npm config set https-proxy https://myuser:mypassword@proxy:8080 |
OlderNewer