Giter VIP home page Giter VIP logo

ch-058's Introduction

Ch-958, Geo Citizen

Getting started

  1. First of all, clone the repository with git clone.
  2. Go to the directory with cloned repository (cd or something).
  3. Switch to the branch dev with next commands:
    # checkout the branch
    git checkout dev
    # fetch last commits
    git fetch && git pull
    Now you have the latest version of working project code.
  4. Config everything you need:
    # Edit with nano or any other text processor
    nano ./src/main/resources/application.properties
    There are the properties, below are described just that you have to know:
    • db.url - address to your created database (create if you haven't yet) for back-end;
    • db.username - login for the database, for back-end;
    • db.password - password for the database, for back-end;
    • url - the same as db.url but for Liquibase (read below);
    • username - the same as db.username but for Liquibase;
    • password - the same as db.password but for Liquibase;
  5. Build and deploy the back-end .war-file:
    # Generate our .war.
    mvn install
    # Move generated WAR into your Tomcat webapps directory
    # (/usr/share/tomcat9/webapps/ in my case)
    mv ./target/ss*.war /usr/share/tomcat9/webapps/
  6. Restore necessary database with Liquibase:
    mvn liquibase:update
  7. Run your Tomcat with the .war.
    # The next is just my case
    /usr/share/tomcat9/bin/startup.sh
  8. Set the back-end URL-address for our front-end:
    # Edit the main.js file with nano or any other text processor
    nano ./front-end/src/main.js
    Find the line with ...'http://...' and replace it with your address from Tomcat. The result will be http://localhost:8080/ss-demo1-0.0.2-SNAPSHOT in my case.
  9. Install front-end dependencies:
    # Go to front-end directory
    cd ./front-end
    # Run downloading and installing
    npm install

    Note about the next warning:

    npm WARN The package vue-material is included as both a dev and production dependency.
    That warning is O.K., just never mind.
  10. Run front-end:
    # Starting Vue.js
    npm run dev
    After successful starting you will see the URL-address of your front-end.

ch-058's People

Contributors

shrralis avatar kinvic avatar dbqpll avatar

Watchers

James Cloos avatar  avatar  avatar  avatar Slavik avatar

ch-058's Issues

Update role names

Update role names with prefix ROLE_ so we will be consistent with spring security

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.