A full interactive Calendar UI built for Vanilla JS or use in other frontend frameworks.

#javascript #js #vanillajs #ui #frontend #webdev #website #html #css #jquery

Adam Shaw 4ec2dfac81 let karma know about the moment dependency vor 12 Jahren
build fb0202e6a5 update bower shim readme vor 12 Jahren
demos 0c6f0ff13c adjust demos to work with PHP 5.2 or higher vor 12 Jahren
lang 564ee6a9a9 [2.0] FullCalendar language files vor 12 Jahren
src d0d0a97c64 [2.0] source file changes vor 12 Jahren
tasks 05ab0a7cf8 [2.0] build system updates, esp for language file generation vor 12 Jahren
tests 634ec186ee Merge branch 'v1-autotest' into v2-autotest vor 12 Jahren
.bowerrc 9181e8be2e bower components go in lib/, all demos and tests reference them directly vor 12 Jahren
.gitignore 9181e8be2e bower components go in lib/, all demos and tests reference them directly vor 12 Jahren
Gruntfile.js 05ab0a7cf8 [2.0] build system updates, esp for language file generation vor 12 Jahren
bower.json 634ec186ee Merge branch 'v1-autotest' into v2-autotest vor 12 Jahren
changelog.md 1b12c3a35b update changelog with temporary link to 2.0 Upgrade article vor 12 Jahren
fullcalendar.jquery.json 18f41c3550 [2.0] meta file updates vor 12 Jahren
karma.conf.js 4ec2dfac81 let karma know about the moment dependency vor 12 Jahren
license.txt b7e644bf4e change to single MIT license. update banners in source files vor 13 Jahren
lumbar.json 18f41c3550 [2.0] meta file updates vor 12 Jahren
package.json 18f41c3550 [2.0] meta file updates vor 12 Jahren
readme.md 55eb4d83e8 add automated testing instructions to readme vor 12 Jahren

readme.md

FullCalendar - Full-sized drag & drop event calendar

This document describes how to modify or contribute to the FullCalendar project. If you are looking for end-developer documentation, please visit the project homepage.

Getting Set Up

You will need Git, Node, and NPM installed. For clarification, please view the jQuery readme, which requires a similar setup.

Also, you will need the grunt-cli and bower packages installed globally (-g) on your system:

npm install -g grunt-cli bower

Then, clone FullCalendar's git repo:

git clone git://github.com/arshaw/fullcalendar.git

Enter the directory and install FullCalendar's development dependencies:

cd fullcalendar && npm install

Development Workflow

After you make code changes, you'll want to compile the JS/CSS so that it can be previewed from the tests and demos. You can either manually rebuild each time you make a change:

grunt dev

Or, you can run a script that automatically rebuilds whenever you save a source file:

./build/watch

You can optionally add the --sourceMap flag to output source maps for debugging.

When you are finished, run the following command to write the distributable files into the ./build/out/ and ./build/dist/ directories:

grunt

If you want to clean up the generated files, run:

grunt clean

Automated Testing

To run automated tests, you must first install karma globally:

npm install -g karma

Then, assuming all your source files have been built (via grunt dev or watch), you can run the tests from a browser:

karma start --single-run

This will output a URL that you can visit in a browser. Alternatively, you can run the tests headlessly:

karma start --single-run --browsers PhantomJS