• Stars
    star
    102
  • Rank 334,521 (Top 7 %)
  • Language
    HTML
  • License
    Creative Commons ...
  • Created about 10 years ago
  • Updated 20 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Platform.sh documentation. Templates available at https://github.com/platformsh-templates/

Platform.sh User Documentation

This repository holds the public user documentation for Platform.sh.

The documentation site (docs.platform.sh) is itself hosted on Platform.sh and built using the powerful Platform.sh build-and-deploy system.

Every pull request (PR) is automatically built on Platform.sh and provided with a link to a fully built environment just for that request. Each PR against the default branch of this repository has a Platform.sh check. Click Details on an open PR to see a fully functional site based on the changes in the PR. (You can have the same functionality for your repository.)

Tools

The documentation site is build using Hugo, a Go static site generator. The build script is rerun on every deploy to produce a fresh static site instance.

The cross-site search in the documentation is built as a separate Platform.sh app from the files in the search directory using Meilisearch.

Contributing

Our documentation is public because we want your help in improving and maintaining it. See our contribution guidelines for how to make changes. All documentation is released under a Creative Commons Attribution license.

If you spot a problem, open a pull request to fix it! If you're not sure how, you can also open an issue and we can look into it.

Running locally

Requires:

  • Hugo >= 0.111.3
  • Node.js >= 16
  • Poetry

Steps

Running locally without search

The documentation and the Meilisearch search service are separate applications. It isn't necessary to run the Meilisearch app to build the docs locally, but if you don't, the search field doesn't appear in the sidebar.

To run the docs alone, clone this repository and install dependencies:

cd docs
npm install

Then download the necessary example files:

npm run dev

Then build the site:

hugo serve

Running locally with search

In addition to the above requirements, search also requires:

A development script using npm-run-all has been defined to run both applications simultaneously.

After cloning the repository, run the following command in your terminal:

npm run develop

Cache of static assets

Given that the website itself isn't updated so often, static assets on the site such as CSS and JavaScript files have a long cache period set. If you are making a change to such files, bust the cache so users aren't served out-of-date files.

To clear the cache, update the version in docs/config/_default/params.yaml.

More Repositories

1

legacy-cli

This is the legacy version of Platform.sh's command-line interface. The new version is at: https://github.com/platformsh/cli
PHP
224
star
2

symfonyflex-bridge

Bridge library for running Symfony Flex on Platform.sh
PHP
30
star
3

platformsh-client-php

Platform.sh API client for PHP
PHP
25
star
4

config-reader-php

Configuration reader library for Platform.sh hosting - PHP version.
PHP
23
star
5

console-form

Simple Symfony Console interactivity
PHP
21
star
6

cli

The unified tool for managing your Platform.sh services from the command line.
Smarty
17
star
7

example-typo3

Starter kit for running TYPO3 on Platform.sh. Maintained by the TYPO3 Community Interest Group (CIG Platform.sh)
PHP
16
star
8

template-builder

Utilities to manage Platform.sh project templates
HTML
15
star
9

hugo-meilisearch

Hugo theme component to create MeiliSearch indexes
12
star
10

example-api-platform-reactjs

Symfony API Platform with ReactJS admin client example configuration for Platform.sh. Maintained by the Platform.sh team. http://platform.sh
PHP
11
star
11

config-reader-nodejs

Configuration reader library for Platform.sh hosting - Node.js version.
JavaScript
10
star
12

jax-rs-jakarta-security

Java
10
star
13

templates-external

Index of 3rd party project starter templates for Platform.sh
Python
9
star
14

platformsh-client-python

Client library for the Platform.sh API in Python
Python
9
star
15

platformsh-magento2-configuration

☠ DEPRECATED
PHP
9
star
16

laravel-bridge

Bridge library for running Laravel on Platform.sh
PHP
8
star
17

platformsh-client-js

Platform.sh API client library
TypeScript
8
star
18

config-reader-python

Configuration reader library for Platform.sh hosting - Python version.
Python
7
star
19

java-quick-start

Java Quick Start for Platform.sh. Maintained by the Platform.sh team.
Java
7
star
20

php-ffi

Examples of using PHP FFI with C and Rust on Platform.sh
PHP
6
star
21

admiral

Reference implementation fleet management tool for Platform.sh
PHP
4
star
22

fwp-prestashop

Prestashop
PHP
4
star
23

fwp-drupal-7

PHP
4
star
24

example-magento1

Platform.sh example for Magento 1.
PHP
4
star
25

language-examples

Basic examples of using various languages with Platform.sh.
Java
4
star
26

django-sanitizedb

JavaScript
4
star
27

examples

Platform.sh Example Projects
Python
3
star
28

php-filebeat-example

PHP
3
star
29

platformsh-nodejs-helper

Deprecated. Please use https://github.com/platformsh/config-reader-nodejs instead.
JavaScript
3
star
30

wordpress-performance

PHP
3
star
31

homebrew-tap

Ruby
3
star
32

awesome-platformsh

Curated list of awesome Platform.sh-related examples and code snippets
3
star
33

example-amphp

Platform.sh example for Amp/Aerys. For example purposes only.
PHP
3
star
34

source-operations

Python
3
star
35

apidays2018-workshop

Go
3
star
36

example-nodejs-microservices

A nodejs microservices example
JavaScript
2
star
37

snippets

Shell
2
star
38

example-drupalcommerce7

Drupal Commerce Kickstart example for Platform.sh. Maintained by the CommerceGuys team.
PHP
2
star
39

example-reactphp

A skeleton React PHP application for Platform.sh. For demonstration purposes only.
PHP
2
star
40

config-reader-java

Java
2
star
41

platformify

Get your project ready to be deployed in Platform.sh
Go
2
star
42

helidon-eclipse-microprofile

Java
2
star
43

fastly-service-cli

A CLI for modifying Fastly services.
Python
2
star
44

platformsh-rails-helper

A library to ease using rails on platform.sh. Much Magic. Very Alpha
Ruby
2
star
45

single-load-balancing-fallback

Sample Java application with Load Balancing using fallback at Platform.sh
Java
2
star
46

example-moodle

Moodle example for Platform.sh. For demonstration purposes only.
PHP
2
star
47

fwp-drupal

Drupal template for FWP
PHP
2
star
48

platformsh-oauth2-php

[needs update] PHP OAuth2 client library for Platform.sh
PHP
2
star
49

platformsh-client-java

Platform.sh API client for Java
2
star
50

gha-check-url

Checks a URL for a specific header response
1
star
51

example-craftcms

Craft CMS starter kit for Platform.sh.
PHP
1
star
52

colander-tools

A set of extensions for `colander`.
Python
1
star
53

fwp-wordpress

WordPress template for Orange Flexible Web Publisher
PHP
1
star
54

gha-template-pr-tests

Performs a series of tests on the pull request environment for a pull request
1
star
55

gha-retrieve-psh-prenv-url

Polls the GitHub Status API endpoint for a Pull Request external integration until success is posted, and returns the value for target_url.
1
star
56

micronaut

Micronaut samples supported by Platform.sh
Java
1
star
57

demo-project

TypeScript
1
star
58

config-reader-go

Configuration reader library for Platform.sh hosting - Go version.
Go
1
star
59

public-api-docs

DEPRECATED: Use https://api.platform.sh/docs/
1
star
60

mercure-rocks-example

HTML
1
star
61

gha-prep-for-autopr

Preps a repository to allow for auto-merging of pull requests.
1
star
62

payara-micro

Payara Micro samples supported by Platform.sh
Java
1
star
63

example-java-spring-gradle

A basic Java Spring application for Platform.sh, built using Gradle. Beta.
Java
1
star
64

example-r

An example repository for running R on Platform.sh using Miniconda/Anaconda
Shell
1
star
65

starter-builder

CSS
1
star
66

platformsh-ruby-helper

Platform.sh helper gem to ease interacting with the environment
Ruby
1
star
67

slides-template

Template for Reveal.js slides for Platform.sh.
JavaScript
1
star
68

gohelper

Go
1
star
69

demos-platform-sh

Platform.sh demonstration slide decks to show how cool Platform.sh is.
JavaScript
1
star
70

example-tomcat

Shell
1
star
71

example-netcore

.net core example for Platform.sh
C#
1
star
72

demo-drupal-blackfire

Integrate with Blackfire for demo purposes.
PHP
1
star
73

strapiconf2022

JavaScript
1
star