Skip to content

How to configure project locally

NaniiGheorghe edited this page Jan 23, 2019 · 1 revision

Database

In order to run the project locally you will need the Postgres database.

  1. Install Postgres db.
  2. Create a new database with name 'acs_db'.
  3. Create a new user with name 'user_acs'.
  4. Create under the 'acs_db' new schema with name 'acs'.

You are done with installing db!

Checkout

  1. Checkout the project using link https://github.com/NaniiGheorghe/AccessControlSystem.git

Compile

In order to run your project you need an IDE, for development was used Intellij IDEA. Both client and server projects stays under directory /project/

In the project folder you also will find Maven project, which has 2 sub modules:

  • AccessControlSystem-Server
  • AccessControlSystem-Client

After you opened the project in an integrated development environment, you will need find a terminal(command line) or some integrated services for executing maven goals.

Execute: mvn clean install

After that execution you database will be populated with new tables, records...

Run

In order to run your application you need to execute the next command in cmd

java -jar acs.war

acs.war is the war file which was generated after compilation

Home Page

Clone this wiki locally