Case study project for Per Scholas using Spring Boot, Bootstrap, JPA, Maven, Hibernate, and more
git clone https://github.com/Maxwell-lt/social-media-project.git
cd social-media-project
cat ./database-schema.sql | mysql -u root -p
mkdir images
echo "maxwell_lt.socialmediaproject.resourceroot=$((Resolve-Path -Path .\images).ToString().Replace('\', '\\'))" > .\src\main\resources\application-local.properties
Path escaping here only works with backslashes, will probably fail on paths with spaces.
git clone https://github.com/Maxwell-lt/social-media-project.git
cd social-media-project
cat ./database-schema.sql | mysql -u root -p
mkdir images
echo "maxwell_lt.socialmediaproject.resourceroot=`readlink -f ./images`" > src/main/resources/application-local.properties
Modify database username and password in src/main/resources/application.properties
./mvnw test
./mvnw spring-boot:run