Coder Social home page Coder Social logo

mauro1477 / simple-calendar Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3.77 MB

Simple Calendar is a file-server system with a built in calendar interface.

License: MIT License

Shell 1.24% SCSS 4.31% CSS 3.03% JavaScript 8.77% PHP 59.73% Twig 22.93%

simple-calendar's Introduction

SimpleCalendar

This repository holds the complete code and script for SimpleCalendar. SimpleCalendar is a file-server system built with PHP version 7.4. SimpleCalendar uses S-3, an Amazon service known as "Simple Storage Service". SimpleCalendar allows administrators to upload and delete multiple files (PDF,Exe,dox,etc) in calendar using Dropzone (AJAX) and S-3. Administrators are permitted to publish files and daily notes for their registered users to view daily notes and download files in the calendar. SimpleCalendar is protected by Symfony 5's firewall bundle to authenticate users. SimpleCalendar uses role-based access control (RBAC) authorization allowing users to have access to requested HTML pages and uses MySQL database to store user accounts' email and password.

SimpleCalendar Web Application: https://simplecalendarmaker.com

Setup

Prequisites

  1. Git
  2. Install PHP 7.2.5 or higher and these PHP extensions (which are installed and enabled by default in most PHP 7 installations): Ctype, iconv, JSON, PCRE, Session, SimpleXML, and Tokenizer
  3. Symfony install . Optionally, you can also install Symfony CLI. This creates a binary called symfony that provides all the tools you need to develop and run your Symfony application locally.
  4. Node install
  5. Yarn install
  6. A clone of Simple-Calendar repo

Installation

  1. cd Simple-Calendar to go into project root
  2. Make sure you have Composer installed and then run:
composer install

You may alternatively need to run php composer.phar install, depending on how you installed Composer.

  1. Run npm install and yarn
  2. Set APP_ENV=dev
  3. Configure the .env File

First, make sure you have an .env file (you should). If you don't, copy .env.dist to create it.

Next, look at the configuration and make any adjustments you need - specifically DATABASE_URL.

  1. Setup the Database

Again, make sure .env is setup for your computer. Then, create the database & tables!

php bin/console doctrine:database:create
php bin/console doctrine:migrations:migrate
php bin/console doctrine:fixtures:load

If you get an error that the database exists, that should be ok. But if you have problems, completely drop the database (doctrine:database:drop --force) and try again.

Start the built-in web server

You can use Nginx or Apache, but the built-in web server works great:

symfony serve

Now check out the site at http://localhost:8000

Contact information for Devs

Mauro Vargas
Github: mauro1477
Linkedin: https://www.linkedin.com/in/mauro-vargas-jr-889559167/

Laura Ballantyne
Github: lauraballant
Linkedin: https://www.linkedin.com/in/laura-ballantyne-24b066182/

simple-calendar's People

Contributors

mauro1477 avatar

Watchers

 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.