Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Airpal setup
apt-get install \
build-essential \
git \
gradle \
mysql-server
git clone https://github.com/airbnb/airpal.git
cd airpal
./gradlew clean shadowJar
mysql \
-uroot \
-proot \
-e'CREATE DATABASE `airpal` CHARACTER SET utf8 COLLATE utf8_general_ci;'
http http://127.0.0.1:8082/healthcheck
## open browser to http://127.0.0.1:8081/app
# Logging settings
logging:
loggers:
org.apache.shiro: INFO
# The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL.
level: INFO
# HTTP-specific options.
server:
applicationConnectors:
- type: http
port: 8081
idleTimeout: 10 seconds
adminConnectors:
- type: http
port: 8082
shiro:
iniConfigs: ["classpath:shiro_allow_all.ini"]
dataSourceFactory:
driverClass: com.mysql.jdbc.Driver
user: root
password: root
url: jdbc:mysql://127.0.0.1:3306/airpal
# The URL to the Presto coordinator.
prestoCoordinator: http://127.0.0.1:8080
java -Duser.timezone=UTC \
-cp build/libs/airpal-*-all.jar \
com.airbnb.airpal.AirpalApplication \
db migrate reference.yml
java -server \
-Duser.timezone=UTC \
-cp build/libs/airpal-*-all.jar \
com.airbnb.airpal.AirpalApplication \
server reference.yml &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.