Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
phundament
app
Commits
b2a9a239
Commit
b2a9a239
authored
Nov 13, 2014
by
Tobias Munk
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/phundament/app
parents
f28ee8f4
0132ca1b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
5 deletions
+18
-5
21-configuration.md
docs/21-configuration.md
+12
-0
51-vagrant.md
docs/51-vagrant.md
+5
-5
README.md
docs/README.md
+1
-0
No files found.
docs/21-configuration.md
0 → 100644
View file @
b2a9a239
Configuration
=============
The config structure is straight forward, there are three config files for an application:
-
`.env`
- environment depended configuration
-
`frontend/config/main.php`
- application configuration
-
`common/config/main.php`
- shared application configuration
> This also applies to `backend` and `console`.
See also
[
Dev/prod parity
](
http://12factor.net/dev-prod-parity
)
.
docs/51-vagrant.md
View file @
b2a9a239
...
...
@@ -25,7 +25,7 @@ Click **Create** and download VM configuration package and extract its contents
Initialize application for puPHPet:
cp ./
environments/_
puphpet/puphpet/files/exec-once/init.sh \
cp ./
platforms/
puphpet/puphpet/files/exec-once/init.sh \
./puphpet/files/exec-once/init.sh
To access the virtual host in the VM later, update your
`/etc/hosts`
file:
...
...
@@ -63,15 +63,15 @@ Docker container with vagrant
First time setup:
cp ./
environments/_docker-vagrant
/dockerhost-vm/Vagrantfile \
cp ./
platforms/vagrant-docker
/dockerhost-vm/Vagrantfile \
~/dockerhost-vm/Vagrantfile
And set
environment variable
`DOCKER_HOST_VAGRANTFILE
`
.
And set
your environment variable
`DOCKER_HOST_VAGRANTFILE`
to
`~/dockerhost-vm/Vagrantfile
`
.
Setup the app:
cp ./
environments/_
docker/Dockerfile .
cp ./
environments/_docker-vagrant
/Vagrantfile .
cp ./
platforms/
docker/Dockerfile .
cp ./
platforms/vagrant-docker
/Vagrantfile .
#### Run
...
...
docs/README.md
View file @
b2a9a239
...
...
@@ -8,6 +8,7 @@ Getting Started
-
[
About
](
10-about.md
)
-
[
Installation
](
20-installation.md
)
-
[
Configuration
](
21-configuration.md
)
Customize
---------
...
...
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