Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docs-phd5
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dmstr
docs-phd5
Commits
396cceaa
Commit
396cceaa
authored
Nov 28, 2017
by
Tobias Munk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
various tutorial drafts
parent
b4504b99
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
67 additions
and
0 deletions
+67
-0
filesystems.md
guide/tutorials/filesystems.md
+13
-0
image-proxy.md
guide/tutorials/image-proxy.md
+17
-0
opensearchserver.md
guide/tutorials/opensearchserver.md
+18
-0
travis-ci.md
guide/tutorials/travis-ci.md
+0
-0
module-widget-template.md
help/frontend-developer/module-widget-template.md
+19
-0
No files found.
guide/tutorials/filesystems.md
0 → 100644
View file @
396cceaa
# Filesystems
As an ephemeral container, a
*phd5*
application usually does not store files directly.
It requires one or more storage backends, which are used for permanent file storage.
Example for storing database dumps on S3.
yii db/export && \
yii fs/sync runtime://mysql s3:// --interactive=0 && \
yii fs/rmdir runtime://mysql --recursive --interactive=0
guide/tutorials/image-proxy.md
0 → 100644
View file @
396cceaa
# Image proxy
TBD
## docker-compose.yml
> @since 5.1.0-rc2
{{ image(image_url, ‚x200‘) }}
https://github.com/willnorris/imageproxy#examples
----
/img/{{ app.settings.get('imgBaseUrl', 'app.frontend') }}/1600x,q60/{{ app.settings.get('imgHostPrefix', 'app.frontend') }}{{ imageSource }}{{ app.settings.get('imgHostSuffix', 'app.frontend') }}
guide/tutorials/opensearchserver.md
0 → 100644
View file @
396cceaa
# Opensearchserver integration
TBD
https://github.com/dmstr/yii2-opensearch-module
```
opensearchserver:
image: alexandretoyer/opensearchserver
ports:
- 9090
volumes:
- "/host-volume/opensearchserver-dmstr/srv:/srv"
environment:
- MEMORY=2g
```
guide/tutorials/travis-ci.md
0 → 100644
View file @
396cceaa
help/frontend-developer/module-widget-template.md
View file @
396cceaa
...
...
@@ -25,6 +25,25 @@ Full width header and container
----
#### Scrolling
{# Scrolling #}
{% set scrolling %}
$(document).on('click', 'a[href^="#"]', function(event){
event.preventDefault();
$('html, body').animate({
scrollTop: $( $.attr(this, 'href').replace('/de/','') ).offset().top
}, 500);
});
{% endset %}
{{ this.registerJs(scrolling) }}
----
----
Templates
----
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment