Skip to content

Instantly share code, notes, and snippets.

@bubuzzz
Last active August 29, 2015 14:00
Show Gist options
  • Select an option

  • Save bubuzzz/91f1d33174a27669e9a3 to your computer and use it in GitHub Desktop.

Select an option

Save bubuzzz/91f1d33174a27669e9a3 to your computer and use it in GitHub Desktop.
=============== SETUP ===============
1. Install git
2. Install JDK 8 by using wget
3. Set the JAVA_HOME environment variable (~/.bashrc)
4. Install mysql server
5. Install maven by using apt-get (remember to use update-alternatives to set back the java compiler to jdk, not open-jdk) or from internet (wget)
6. Retrieve the source code from git repository
https://github.com/bubuzzz/SpringTutorial.git
7. Find the pom files and set the driver to suitable driver
8. Find the .properties files and change the setting to mysql
9. Clean and build project by using maven
=============== SUBMISSION ===============
10. Run `git -version` and save the result to `git.log` file
11. Run `java -version` and save the result to `java.log` file
12. Save the PATH environment variable to the `path.log` file
13. Save the build result to `build.log` file
14. Save the history to `history.log` file
15. Put all the files (including the .bashrc) into the `assignment` folder, create a GitHub account and commit/push to your account 's repository
16. Send your github link to ThaiTC
=============== OPTIONAL ===============
16. Can you make an automation script for the above steps?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment