<commit_before># Creating a project

1. Create in IntelliJ Maven based application based on **maven-archetype-webapp**  Archetype
 groupId is com.softserverinc.edu
 artifactId  agiledev

1. Modify **pom.xml** file for Spring MVC with no **web.xml** configuration

1. Issue command **Maven->Reimport**

1. Delete **web.xml** file

1. Create directories

      src/main/webapp/WEB-INF/resoures
      src/main/webapp/WEB-INF/layouts
      src/main/webapp/WEB-INF/views

1. Put files in above directories. These files are responsibile for web interface

1. Put file **logback.xml** in resources directory

1. In **main** directory create packages  java.com.softserverinc.edu

1. In **edu** package create packages
      **config**

1. Make directory **java**  as Sources Root

1. In **config** package create classes
     **WebAppInitializer**rt
     **WebConfig**
     
1. Delete file src/main/webapp/index.jsp

1. Create local server Tomcat
    1. Add Deployment agiledev:war exploded
	1. Remove a folder there if it exists
	1. Add in Before lunch: Build agiledev:war exploded artifact

1. Go to in main menu  File->Project Structure->Artifacts.
   Click right on **agiledev:war exploded**
   Double click right on **WEB-INF** folder to open it than on **+** sign and choose **Directory Content** and choose **WEB-INF** folder. This will include WEB-INF subfolders in war file
   
   # Working with DBmaintain
   
   ## Database
   
   In a Database will be user with admin rights, e-mail:  **<EMAIL>**, and password:  **<PASSWORD>**
   
   
   # Developing
   
   ## Database

   Create manually MySQL database "bugtrckr"
   
   For creating empty tables, please, issue command from project root dir
   
   **mvn dbmaintain:updateDatabase@db-update-create**
   
   For creating tables and populating them with some reference data, please, issue command from project root dir
   
   **mvn dbmaintain:updateDatabase@db-update-refdata**
   
   For dropping a database is a Maven command issued from project root dir
   
   **mvn dbmaintain:clearDatabase**
   
   For removing the data of all database tables
   
   **mvn dbmaintain:cleanDatabase**
   
   
   # Troubleshooting
   
   In case a Tomcat will give you a warning like org.apache.catalina.webresources.Cache.getResource Unable to add the resource ... to the cache because there was insufficient free space
   
   Please, In your $CATALINA_BASE/conf/context.xml add block before </Context>
   
   &lt;Resources cachingAllowed="true" cacheMaxSize="100000" /&gt;<commit_msg>Added changes in the README concerning the database<commit_after># Creating a project

1. Create in IntelliJ Maven based application based on **maven-archetype-webapp**  Archetype
 groupId is com.softserverinc.edu
 artifactId  agiledev

1. Modify **pom.xml** file for Spring MVC with no **web.xml** configuration

1. Issue command **Maven->Reimport**

1. Delete **web.xml** file

1. Create directories

      src/main/webapp/WEB-INF/resoures
      src/main/webapp/WEB-INF/layouts
      src/main/webapp/WEB-INF/views

1. Put files in above directories. These files are responsibile for web interface

1. Put file **logback.xml** in resources directory

1. In **main** directory create packages  java.com.softserverinc.edu

1. In **edu** package create packages
      **config**

1. Make directory **java**  as Sources Root

1. In **config** package create classes
     **WebAppInitializer**rt
     **WebConfig**
     
1. Delete file src/main/webapp/index.jsp

1. Create local server Tomcat
    1. Add Deployment agiledev:war exploded
	1. Remove a folder there if it exists
	1. Add in Before lunch: Build agiledev:war exploded artifact

1. Go to in main menu  File->Project Structure->Artifacts.
   Click right on **agiledev:war exploded**
   Double click right on **WEB-INF** folder to open it than on **+** sign and choose **Directory Content** and choose **WEB-INF** folder. This will include WEB-INF subfolders in war file
   
   # Working with Database
   
   ## Database
   
   In a Database will be user with admin rights, e-mail:  **<EMAIL>**, and password:  **<PASSWORD>**
   
   
   # Developing
   
   ## Database

   Create manually MySQL database "bugtrckr" and do:
   Maven Project -> BugTrckr -> Lifecycle -> package
   
   
   # Troubleshooting
   
   In case a Tomcat will give you a warning like org.apache.catalina.webresources.Cache.getResource Unable to add the resource ... to the cache because there was insufficient free space
   
   Please, In your $CATALINA_BASE/conf/context.xml add block before </Context>
   
   &lt;Resources cachingAllowed="true" cacheMaxSize="100000" /&gt;
{'fraction_non_alphanumeric': 0.09136069114470842, 'fraction_numerical': 0.009935205183585313, 'mean_word_length': 3.40627973358706, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 18, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 10}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4951350', 'n_tokens_mistral': 1441, 'n_tokens_neox': 1371, 'n_words': 528}