opencaching / deployment Goto Github PK
View Code? Open in Web Editor NEWSet of scripts and tools that allows you to deploy opencaching server. Also source code used for building DEVEL VM.
Set of scripts and tools that allows you to deploy opencaching server. Also source code used for building DEVEL VM.
During packer run we using:
deployment/oc-devel.vbox.pkr.hcl
Lines 63 to 65 in 1a8ca7b
After running a fresh instance of VM build by packer map v3 is not working. After click on map in php error log I see many:
[Sat Jul 15 19:23:40.997640 2023] [php:notice] [pid 779] [client 192.168.56.1:49466] Division by zero, referer: http://local.opencaching.pl/MainMap/embeded
Exception is thrown from here: https://github.com/opencaching/okapi/blob/master/okapi/services/caches/map/TileTree.php#L307-L312
And due to some reasons is not correctly handled by code here:
https://github.com/opencaching/okapi/blob/master/okapi/services/caches/map/TileTree.php#L279-L284
This leads to errors on client side:
For 9.0-beta release I just started builded VM, changed all lat and lon that was == 0, left the VM for 1h and OKAPI finished building of tiles tree.
I don't think this is an option for next releases. We can:
@kojoty Did you tried apply dump generated by your script?
There is some problem with 'news' table:
Importing OC PL Devel Database Dump...
ERROR 1067 (42000) at line 3990: Invalid default value for 'date_publication'
ERROR 1146 (42S02) at line 4016: Table 'ocpl.news' doesn't exist
ERROR 1146 (42S02) at line 4017: Table 'ocpl.news' doesn't exist
ERROR 1146 (42S02) at line 4018: Table 'ocpl.news' doesn't exist
ERROR 1146 (42S02) at line 4019: Table 'ocpl.news' doesn't exist
https://travis-ci.org/opencaching/devel-dockerfiles/builds/316046321
Move script https://github.com/opencaching/opencaching-pl/blob/master/docs/vm/shrink_and_prepare.sh to this repo and adjust if needed.
Needs #9
Simple improvement 'just to not forget'.
Db container should apply all required alerts in building process, to be up to date with production servers.
Related with #16
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.