docspell/website/elm/GetStarted.elm

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

86 lines
3.2 KiB
Elm
Raw Permalink Normal View History

2020-07-27 20:13:22 +00:00
module GetStarted exposing (..)
import Html exposing (..)
import Html.Attributes exposing (..)
import Markdown
2022-01-27 19:23:15 +00:00
getStarted : String -> Html msg
getStarted _ =
div [ class "container max-w-screen-lg mx-auto text-xl px-10 lg:px-0 leading-relaxed min-h-screen" ]
[ Markdown.toHtml [ class "my-4 markdown-view" ]
2020-07-27 20:13:22 +00:00
"""Docspell consists of several components. The easiest way to get started is probably to use docker and
[docker-compose](https://docs.docker.com/compose/)."""
2022-01-27 19:23:15 +00:00
, Markdown.toHtml [ class "my-4 markdown-view " ]
2020-08-15 08:33:22 +00:00
"""1. Clone the github repository
2020-07-27 20:13:22 +00:00
```bash
$ git clone https://github.com/eikek/docspell
```
2020-08-15 08:33:22 +00:00
Alternatively, [download](https://github.com/eikek/docspell/archive/master.zip) the sources and extract the zip file.
2022-01-27 19:23:15 +00:00
2. Change into the `docker-compose` directory:
2020-07-27 20:13:22 +00:00
```bash
2021-05-31 11:25:57 +00:00
$ cd docspell/docker/docker-compose
2020-07-27 20:13:22 +00:00
```
3. Run `docker-compose up`:
```bash
2021-10-25 12:06:29 +00:00
$ docker-compose up -d
2020-07-27 20:13:22 +00:00
```
4. Goto <http://localhost:7880>, signup and login. When signing up,
2021-05-31 11:25:57 +00:00
choose the same name for collective and user. Then login
2020-07-27 20:13:22 +00:00
with this name and the password.
5. (Optional) Create a folder `./docs/<collective-name>` (the name you
chose for the collective at registration) and place files in there
for importing them.
The `docker-compose.yml` file defines some environment variables to
configure docspell. You can [modify](docs/configure) them as needed.
2020-07-27 20:13:22 +00:00
"""
2022-01-27 19:23:15 +00:00
, div [ class "blue-message" ]
2020-07-27 20:13:22 +00:00
[ text "If you don't use docker, there are other ways that are "
, text "described in the relevant "
2022-01-27 19:23:15 +00:00
, a [ href "/docs/install", class "link" ]
2020-07-27 20:13:22 +00:00
[ text "documentation page"
]
]
2022-01-27 19:23:15 +00:00
, div [ class "green-message mt-4 " ]
[ h3 [ class "text-4xl font-bold font-serif py-2 mb-2" ]
[ text "Where to go from here?"
]
, ul [ class "list-disc list-inside " ]
[ li []
[ text "Find out "
, a [ href "/docs/feed" ]
[ text "how files can get into Docspell."
2020-07-27 20:13:22 +00:00
]
2022-01-27 19:23:15 +00:00
]
, li []
[ text "The "
, a [ href "/docs/intro" ]
[ text "introduction" ]
, text " writes about the goals and basic idea."
]
, li []
[ text "There is a comprehensive "
, a [ href "/docs" ]
[ text "documentation"
2020-07-27 20:13:22 +00:00
]
2022-01-27 19:23:15 +00:00
, text " available."
]
, li []
[ text "The source code is hosted on "
, a [ href "https://github.com/eikek/docspell" ]
[ text "github"
2020-07-27 20:13:22 +00:00
]
2022-01-27 19:23:15 +00:00
, text "."
]
, li []
[ text "Chat on "
, a [ href "https://gitter.im/eikek/docspell" ]
[ text "Gitter"
2020-10-29 21:30:23 +00:00
]
2022-01-27 19:23:15 +00:00
, text " for questions and feedback."
2020-07-27 20:13:22 +00:00
]
]
]
]