Skip to content

dnsang/scala-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Finatra Scala Template

+ Built-in config for development & production
+ Built-in scala wrapped service
+ Predefine project template with Result & Thrift for microservice

Usage:

	git clone git@github.com:zkidkid/scala-template.git
	cd <path>/scala-template
	mvn install archetype:update-local-catalog

	cd <path>
	mvn archetype:generate -B -DarchetypeGroupId=scala 	\
		-DarchetypeArtifactId=finatra-archetype 		\
		-DarchetypeVersion=1.0 -DgroupId=company 		\
		-DartifactId=projectx 							\
		-DpackageName=company.projectx  				\
		-DarchetypeCatalog=local
	cd projectx
	mvn package
	chmod +x runservice
	./runservice start -Dmode=development
	curl -XGET localhost:8080/ping
	./runservice stop

Releases

No releases published

Packages

No packages published