Skip to content

ride-austin/server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Mikhail Chugunov
Oct 3, 2019
2435471 · Oct 3, 2019

History

1 Commit
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019
Oct 3, 2019

Repository files navigation

Ride-austin server application

How to prepare env

Prerequisites

Create database

  • mysql -u root -p
  • > create database ride_db
  • > create user 'rideaustin'@'localhost' identified by 'test123'
  • > grant all on ride_db.* to 'rideaustin'@'localhost'
  • Obtain mysql dump from RC server
  • mysql -u rideaustin -p ride_db < dump.sql
  • Add in /etc/mysql/my.cnf in [mysqld] configuration: lower_case_table_names = 1, then restart mysql service

Assembly and run (in repo directory):

  • $ cd PATH-TO-REPO-DIRECTORY
  • $ mvn clean package -DskipTests=true && mvn cargo:run -f app/pom.xml
  • localhost:8080 is ready

dev set-up

$ mvn dependency:sources to download all sources`

Integration tests execution (from IntelliJ IDEA)

docker container for mysql

docker run --name mysql-4-test \
-e MYSQL_ROOT_PASSWORD=toor \
-e MYSQL_DATABASE=ride_db \
-e MYSQL_USER=test \
-e MYSQL_PASSWORD=test123 \
-p 3307:3306 -d mysql --lower_case_table_names=1

docker container for redis

docker run --name redis-4-test -p 6378:6379 -d redis

Logging

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages