- First of all, clone the repository with
git clone
. - Go to the directory with cloned repository (
cd
or something). - Switch to the branch
dev
with next commands:Now you have the latest version of working project code.# checkout the branch git checkout dev # fetch last commits git fetch && git pull
- Config everything you need:
There are the properties, below are described just that you have to know:
# Edit with nano or any other text processor nano ./src/main/resources/application.properties
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 asdb.url
but for Liquibase (read below);username
- the same asdb.username
but for Liquibase;password
- the same asdb.password
but for Liquibase;
- 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/
- Restore necessary database with Liquibase:
mvn liquibase:update
- Run your Tomcat with the .war.
# The next is just my case /usr/share/tomcat9/bin/startup.sh
- Set the back-end URL-address for our front-end:
Find the line with
# Edit the main.js file with nano or any other text processor nano ./front-end/src/main.js
...'http://...'
and replace it with your address from Tomcat. The result will behttp://localhost:8080/ss-demo1-0.0.2-SNAPSHOT
in my case. - Install front-end dependencies:
# Go to front-end directory cd ./front-end # Run downloading and installing npm install
That warning is O.K., just never mind.npm WARN The package vue-material is included as both a dev and production dependency.
- Run front-end:
After successful starting you will see the URL-address of your front-end.
# Starting Vue.js npm run dev
ch-058's Introduction
ch-058's People
ch-058's Issues
Update role names
Update role names with prefix ROLE_
so we will be consistent with spring security
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.