Giter Club home page Giter Club logo

kamalnathkn / webcalendar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from craigk5n/webcalendar

0.0 0.0 0.0 114.5 MB

WebCalendar is a PHP application used to maintain a calendar for a single user or an intranet group of users. It can also be configured as an event calendar.

Home Page: http://www.k5n.us/webcalendar.php

License: GNU General Public License v2.0

Shell 0.12% JavaScript 2.00% Perl 1.58% PHP 87.03% Java 5.83% CSS 1.60% Hack 0.01% Makefile 0.56% HTML 1.27%

webcalendar's Introduction

WebCalendar README

Project Home Page: https://www.k5n.us/webcalendar/ Project Owner: Craig Knudsen, [email protected]
Documentation:

Developer Resources:

Installation Instructions

After unzipping your files (or transferring the files to your hosting provider, you will need to go to the web-based install script. If your files are installed in a "webcalendar" folder under your parent web server document root, you can access the script by going to:

https://yourserverhere/webcalendar/

(Obviously, put the correct server name in above.) The toplevel URL will automatically redirect to the installation wizard.

Running WebCalendar with Docker (PHP 8.1)

You can use a prebuilt WebCalendar image rather than building it yourself locally. You will need to shell into the MariaDb container to grant access. Because we also need a database, we use a local network with WebCalendar and MariaDb running that is setup with the docker-compose command.

  • Start the containers: docker-compose -f docker/docker-compose-php8.yml up
  • In order to grant the proper permissions inside of MariaDb, you will need to run a few MySQL commands. First shell into the mariadb container: docker-compose -f docker/docker-compose-php8.yml exec db /bin/sh
  • Start up the db client: /bin/mariadb -p (the password will be "Webcalendar.1" as specified in the `docker-compose-php8.yml' file. You can change it to make your dev environment more secure (before you build the containers in step above).
  • Run the following db commands:
    GRANT ALL PRIVILEGES ON *.* TO webcalendar_php8@localhost IDENTIFIED BY 'Webcalendar.1'  WITH GRANT OPTION; 
    FLUSH PRIVILEGES;
    QUIT
    
  • Start up your web browser and go to: http://localhost:8080/.
  • Follow the guided web-based setup and choose "mysqli" as the database type. Be sure to use the same MariaDb credentials specified above (Password WebCalendar.1 and Database Name webcalendar_php8.)

Setting Up a Docker Dev Environment (PHP 8.1)

You can setup a docker environment with PHP 8.1 and MariaDb with a few steps. This docker setup differs from the normal WebCalendar docker image in that the local WebCalendar files are mounted into the container so that changes to your local filesystem will also apply to the WebCalanedar files in the container.

  • Build the docker container with docker-compose -f docker/docker-compose-php8-dev.yml build
  • Start the containers with docker-compose -f docker/docker-compose-php8-dev.yml up
  • In order to grant the proper permissions inside of MariaDb, you will need to run a few MySQL commands. First shell into the mariadb container: docker-compose -f docker/docker-compose-php8-dev.yml exec db /bin/sh
  • Start up the db client: /bin/mariadb -p (the password will be "Webcalendar.1" as specified in the `docker-compose-php8-dev.yml' file. You can change it to make your dev environment more secure (before you build the containers in step above).
  • Run the following db commands:
    GRANT ALL PRIVILEGES ON *.* TO webcalendar_php8@localhost IDENTIFIED BY 'Webcalendar.1'  WITH GRANT OPTION; 
    FLUSH PRIVILEGES;
    QUIT
    
  • Start up your web browser and go to: http://localhost:8080/.
  • Follow the guided web-based setup and choose "mysqli" as the database type. Be sure to use the same MariaDb credentials specified above (Password WebCalendar.1 and Database Name webcalendar_php8.)

Setting Up a Docker Dev Environment (PHP 7.4)

You can setup a docker environment with PHP 7.4 and MariaDb with a few steps.

  • Build the docker container with docker-compose -f docker-compose-php7.yml build
  • Start the containers with docker-compose -f docker-compose-php7.yml up
  • In order to grant the proper permissions inside of MariaDb, you will need to run a few MySQL commands. First shell into the mariadb container: docker-compose exec db /bin/sh
  • Start up the db client: /bin/mariadb -p (the password will be "Webcalendar.1" as specified in the `docker-compose-php7.yml' file. You can change it to make your dev environment more secure (before you build the containers in step above).
  • Run the following db commands:
    GRANT ALL PRIVILEGES ON *.* TO webcalendar@localhost IDENTIFIED BY 'Webcalendar.1'  WITH GRANT OPTION; 
    FLUSH PRIVILEGES;
    QUIT
    
  • Start up your web browser and go to: http://localhost:8080/.
  • Follow the guided web-based setup and choose "mysqli" as the database type. Be sure to use the same MariaDb credentials specified above (Password WebCalendar.1 and Database Name webcalendar.)

webcalendar's People

Contributors

craigk5n avatar ngrgpp avatar monnerat avatar bbannon avatar dependabot[bot] avatar siggen avatar tuaris avatar jeifour avatar ka-mau avatar peterberbec avatar bodqhrohro avatar dmjohnsson23 avatar jawtheshark avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.