Adventure photo sharing website
  • SCSS 50.3%
  • CSS 29.2%
  • Kotlin 16.8%
  • Mustache 2.3%
  • JavaScript 1.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2019-05-07 00:47:47 -07:00
.idea Some more work on CSS and HTML 2019-05-04 20:27:36 -07:00
gradle/wrapper - Upgraded gradle 2019-04-22 18:41:27 +00:00
libs - Added admin routes for various things 2018-12-30 18:59:18 -08:00
src Organizer selectable is working again 2019-05-07 00:47:47 -07:00
testimages Added location meta data to test photos 2019-04-30 22:44:17 -07:00
.gitignore gitignore 2019-04-19 00:02:42 -07:00
.gitlab-ci.yml Fixed Gitlab CI tests 2019-04-12 00:46:14 -07:00
app.json Fixing test and the build 2018-08-27 21:29:44 -07:00
build.gradle Some more work on CSS and HTML 2019-05-04 20:27:36 -07:00
gradlew Gitlab ci 2019-04-08 05:06:08 +00:00
gradlew.bat Initial commit 2018-08-27 19:28:55 -07:00
Procfile - Possible fix for heroku 2018-12-13 21:49:42 -08:00
README.md - Moved everything to compile time SASS 2019-05-03 00:23:40 -07:00
run_0.png - Moved everything to compile time SASS 2019-05-03 00:23:40 -07:00
settings.gradle Initial commit 2018-08-27 19:28:55 -07:00
settings.jar - shared settings 2018-09-24 18:47:23 -07:00
setup_0.png Added setup instructions 2019-04-18 22:55:02 -07:00
setup_0a.png Added setup instructions 2019-04-18 22:55:02 -07:00
setup_0b.png Added setup instructions 2019-04-18 22:55:02 -07:00
setup_1.png Adding explanatory images 2019-04-05 16:40:03 -07:00
setup_2.png Adding explanatory images 2019-04-05 16:40:03 -07:00

adventurephotos

Adventure photo sharing website

New computer setup

  • Install git
  • Install java 8 (MUST be Java 8, nothing lower or higher)
  • Install Jetbrains IDEA Ultimate
  • In IntelliJ Checkout from version control
    • After it clones, open the project Open project
    • Once it's open, import from Gradle Import
    • Ensure you have these options checked Import
  • Things should build and run now

To run

Heroku JavaOpts

-Xmx300m -Xms256m -Xss512k -XX:+UseCompressedOops -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -Dpippo.mode=prod -Dbackblazebucket=dev

heroku config:set MALLOC_ARENA_MAX=2

VM options for dev

-XX:+UseG1GC -XX:+UseStringDeduplication -Dpippo.mode=dev -Dpippo.reload.targetClasses=out\production\classes -Dpippo.reload.rootPackageName=com.darkrockstudios.web.adventurephotos -Dserviceconfig=local

Override backblaze credentials

To store photos in the dev bucket -Dbackblazebucket=dev

Runtime environment setups

Development environments Heroku

Upload flow

  • Upload file to server
  • Create record (unpublished)
  • Uploaded to b2
  • Create thumbnail, upload to B2
  • Create web-size, upload to B2
  • Create blur if needed, upload to B2
  • Run NN on it? tag things? [not now for sure]

Accessing Heroku Postgres DB inside IntelliJ

Add this to the end of the database URI string:

  • ?ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory