Giter VIP home page Giter VIP logo

acmepass's Introduction

acme

Development

Required Software

  1. Java 8 or greater
  2. NPM 2.13 or greater
  3. Maven 3.3 or greater
  4. MySQL 5.5 or greater

Configuration

To configure the system:

  1. Run npm install from inside the application's folder
  2. Create database schema for the application with the name of your preference (the tables are created and populated automatically during the first run)
  3. Open the configuration file src/main/resources/config/application-dev.yml and set:
    1. spring.datasource.url with the database host, port and schema (defaults to localhost, 3306 and acme respectively).
    2. server.port with server port (defaults to 8080)

After that execute mvn spring-boot:run from inside the application's folder to run the application and navigate to http://localhost:8080 in your browser (note the port number might be different according to your configuration and sudo might be necessary for ports below 1024).

Distribution

Building package

To build a distribution package:

  1. Run mvn clean package
  2. Copy target/acme-1.0.1.war file to a new folder
  3. Inside this folder create two subfolders, one called config and one called mediaResources
  4. Copy src/main/resources/config/application-dev.yml into the config folder

Running package

To run the distribution packaged application:

  1. Create database schema for the application with the name of your preference (the tables are created and populated automatically during the first run)
  2. Configure the database and server port in the config/application-dev.yml file as explained above
  3. Run java -jar acme-1.0.1.war (sudo might be necessary if configured with a port below 1024)

Finally navigate to http://localhost:8080 in your browser (note the port number might be different according to your configuration and deployment environment).

acmepass's People

Contributors

kradical avatar programmingjoe avatar marinacodes avatar bblashko avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.