From aad8586745a8bb7136253e821c12da7503bc8384 Mon Sep 17 00:00:00 2001 From: DOHA Date: Mon, 23 Mar 2015 19:35:07 +0200 Subject: [PATCH] add readme --- .../README.md | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 spring-security-login-and-registration/README.md diff --git a/spring-security-login-and-registration/README.md b/spring-security-login-and-registration/README.md new file mode 100644 index 0000000000..1c5b16d6f6 --- /dev/null +++ b/spring-security-login-and-registration/README.md @@ -0,0 +1,29 @@ +========= + +## Login and Registration Example Project with Spring Security + + +### Relevant Articles: +- [Spring Security Registration Tutorial](http://www.baeldung.com/spring-security-registration) + + + +### Build the Project +``` +mvn clean install +``` + + +### Set up MySQL +``` +mysql -u root -p +> CREATE USER 'tutorialuser'@'localhost' IDENTIFIED BY 'tutorialmy5ql'; +> GRANT ALL PRIVILEGES ON *.* TO 'tutorialuser'@'localhost'; +> FLUSH PRIVILEGES; +``` + + +### Set up Email + +You need to configure the email by renaming file "email.properties.sample" to "email.properties" and provide your own username and password. +You also need to use your own host, you can use Amazon or Google for example.