1
0
mirror of synced 2024-11-22 13:06:08 +03:00
Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.
Go to file
2017-11-18 18:55:21 -05:00
accounts first take 2017-09-02 20:34:47 -04:00
assets first take 2017-09-02 20:34:47 -04:00
config Add "common problems" section and address #4217 2017-09-10 21:53:08 -04:00
data first take 2017-09-02 20:34:47 -04:00
localhost/config first take 2017-09-02 20:34:47 -04:00
pages update CDN version in installation instructions 2017-11-18 18:55:21 -05:00
plugins first take 2017-09-02 20:34:47 -04:00
themes update for 4.0.4 2017-09-24 13:20:09 -04:00
blueprints.yaml first take 2017-09-02 20:34:47 -04:00
LICENSE.md Update license for docs, and add links to footer. 2017-09-10 23:09:51 -04:00
README.md update README 2017-09-07 15:52:24 -04:00
screenshot.jpg first take 2017-09-02 20:34:47 -04:00

select2.org

https://select2.org

This is the repository for the documentation for Select2. It is built with the flat-file CMS Grav, using their RTFM skeleton.

Local installation

Step 1 - Install Grav

This application uses the Grav CMS. This repository does not contain a full Grav installation - rather, it just contains the contents of Grav's user directory, which is where all of our content, themes, and assets live. This was done as per the recommendation on Grav's blog, to make it easier to deploy changes to the live server.

To install this website on your computer, first install grav core in a project folder called select2-docs under your webserver's document root folder. Then, find the user folder inside of your project folder. Delete the contents of the user folder and clone this repository directly into the user folder.

When you're done it might look something like this:

htdocs/
└── select2-docs/
   ├── assets/
   ├── ...
   ├── user/
       ├── .git
       ├── accounts/
       ├── assets/
       ├── config/
       └── ...
   └── ...

Step 2

Grav needs your webserver to be able to write to certain directories. In OSX with XAMPP installed, this won't work by default. To deal with this:

Add default webserver user daemon to OSX's staff group (which already has the necessary permissions for writing to files/directories):

sudo dseditgroup -o edit -a daemon -t user staff

Step 3

Visit the local installation in your browser! For example, http://localhost/select2-docs.

Credits

Favicons were generated with https://realfavicongenerator.net/