Skip to content

About

The source code of Opencaching.PL (and some other domains)

Resources

Stars

23 stars

Watchers

16 watching

Forks

Latest commit

 

History

12,930 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Opencaching.PL

This is the source code of Opencaching.PL and several other national Opencaching sites.

More documentation is available in our Wiki.

Local development

You can run OCPL locally with DDEV, see its installation guide. Alternatively, you can use the development virtual machine or set up the environment manually on Linux or Windows.

ddev start
ddev init

ddev init downloads a development database dump, imports it and runs OC and OKAPI database updates. Run it again whenever you want to reset the database.

  • The site runs at https://ocpl.ddev.site, the mobile site at https://m.ocpl.ddev.site and OKAPI at https://ocpl.ddev.site/okapi/.
  • You can log in as any user with the password haslo.
  • Emails are caught by Mailpit, open it with ddev mailpit.
  • Use ddev mysql for a database shell, and ddev describe for ports to connect other database clients.
  • lib/settings.inc.php and config/*.local.php are created from templates in .ddev/ocpl on the first start.
  • Cron jobs run every 5 minutes as on production, except for the jobs disabled in config/cronjobs.local.php and config/okapiConfig.local.php. Their output goes to /tmp/ocpl-cron.log (ddev exec tail /tmp/ocpl-cron.log).

About

The source code of Opencaching.PL (and some other domains)

Resources

Stars

23 stars

Watchers

16 watching

Forks

Releases

Packages

Used by

Contributors

Languages