# Installing

This guide still needs a lot of work

# Minimal Requirements

1. jQuery
2. Moment.js
3. Locales: Moment's locale files are here

# Installation Guides

- CDN
- Rails
- Django
- Angular
- Meteor.js
- Manual

## CDN

    <head>
      <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/tempusdominus-bootstrap-4/5.0.0-alpha14/js/tempusdominus-bootstrap-4.min.js"></script>
      <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tempusdominus-bootstrap-4/5.0.0-alpha14/css/tempusdominus-bootstrap-4.min.css" />
    </head>

## Package Managers

### Rails

Rails 5.1 Support - Bootstrap 4 Datetime Picker Rails

1. Add `gem 'bootstrap4-datetime-picker-rails'` to your `Gemfile`
2. Execute `bundle`
3. Add `//= require tempusdominus-bootstrap-4.js` to your `application.js`
4. Add `@import "tempusdominus-bootstrap-4.css"` to your `application.scss`

### Django

Python package for Django: Django Tempus Dominus

1. Install via pip: `pip install django-tempus-dominus`
2. Widgets are provided for Date, DateTime, and Time.
3. Full examples are available with Django Forms, Widgets, and Templates.

### Angular Wrapper

Follow instructions at ngx-tempusdominus-bootstrap

### Meteor.js

Need new wrapper for this version.

## Manual

1. Acquire jQuery
2. Acquire Moment.js
3. Acquire

    <script type="text/javascript" src="/path/to/jquery.js"></script>
    <script type="text/javascript" src="/path/to/moment.js"></script>
    <script type="text/javascript" src="/path/to/tempusdominus-bootstrap-4.min.js"></script>

## Knockout

Need new wrapper for this version.