git clone [email protected]:bytabit/fiat-trader-server.git
- Install JDK 8u92
- Install Gradle version 2.13
- Verify your JAVA_HOME environment variable is set to your JDK home
gradle run
- Install gradle plugin (if not already installed)
- Import gradle project in IntelliJ
- Verify the project JDK and Java Inspections settings are correct
bootRun -PprofileName=dev
-
Commit any uncommitted code and add version label
-
Build docker image
gradle clean buildDocker
-
Confirm docker container created
docker images
-
Remove old docker server
docker rm server
-
Start docker container
docker run -d -p 8080:8080 --expose 8080 --name server bytabit/bytabit-server:<VERSION>
-
Start docker container with STDOUT (for trouble shooting)
docker run -p 8080:8080 --expose 8080 --name server -a STDOUT -t bytabit/bytabit-server:<VERSION>
-
Pull bitcoin-testnet-box docker image
docker pull freewil/bitcoin-testnet-box
-
Running docker container, mapping and exposing port 18444 from 19000 in our docker container
docker run -t -i -p 18444:19000 --expose 18444 freewil/bitcoin-testnet-box
-
Follow bitcoin-testnet-box README.md instructions
-
Edit
postgresql.conf
and add:listen_addresses = '*'
-
Edit
pg_hba.conf
and add:host bytabit bytabit 192.168.0.13/32 trust
-
Create bytabit user and password:
CREATE USER bytabit WITH SUPERUSER PASSWORD 'bytabit@123'
-
Create empty bytabit database:
CREATE DATABASE bytabit
We follow the Semantic Versioning 2.0 specification for this project.