Skip to content

pitanyc/tech-hub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tech Hub

Tech Hub is an issue tracking system. Similar to JIRA, Bugzilla and many others, it supports ticketing & issue tracking on various projects.
Demo: https://tech-hub.herokuapp.com/

Features include:

  • issues are tracked under projects
  • unlimited projects
  • unlimited issues per project
  • admin console
  • user statistics
  • analytics

Install Dependencies

  1. Download Ant: Apache Ant
    On Mac: How to Apache Ant on Mac OS X
  2. Download TomEE: Apache TomEE Webprofile
    On Mac: brew install tomee-webprofile
  3. Download PostgreSQL: PostgreSQL
    On Mac: Install Postgres.app
  4. Configure your $PATH to include PostgreSQL command line tools:
sudo mkdir -p /etc/paths.d &&
echo /Applications/Postgres.app/Contents/Versions/latest/bin | sudo tee /etc/paths.d/postgresapp

Then: restart your terminal.

  1. Download database driver jar into the tomee/lib folder.
  2. Add datasource to tomee/conf/tomee.xml:
<?xml version="1.0" encoding="UTF-8"?>
<tomee>  
  <Resource id="jdbc/ManchesterDS_Postgre" type="javax.sql.DataSource">
    jdbcDriver org.postgresql.Driver
    jdbcUrl jdbc:postgresql://localhost:5432/manchester
    userName man
    password man
  </Resource>
</tomee>

Build Application

  1. Create database:
psql postgres
ALTER DATABASE peter RENAME TO manchester;
  1. Seed database:
cd tech-hub/ManchesterEJB/ejbModule/META-INF/postgre/
psql manchester
\i Postgre_Table.ddl
\i Postgre_Sequence.ddl
\i Postgre_Data.ddl
  1. Create database user:
psql manchester
CREATE USER man WITH ENCRYPTED PASSWORD 'man';
GRANT ALL PRIVILEGES ON DATABASE manchester TO man;
  1. Run: ant -f build/build.xml
  2. Deploy app by creating a soft link to it:
    ln -s $(pwd)/ManchesterWAR/WebContent $CATALINA_HOME/webapps/tech-hub

Useful Tips

  1. [TODO]

Creator

Peter Szocs, Tech Lead at Bloomberg LP.

About

Issue & bug tracking system

http://(coming soon)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •