forked from heroku/12factor
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
42 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM ruby:2.5.3 | ||
|
||
RUN curl https://cli-assets.heroku.com/install.sh | sh | ||
|
||
WORKDIR /usr/src/app | ||
|
||
COPY Gemfile /usr/src/app/Gemfile | ||
COPY Gemfile.lock /usr/src/app/Gemfile.lock | ||
RUN bundle install | ||
|
||
ADD . /usr/src/app | ||
|
||
EXPOSE 5000 | ||
CMD heroku local:start -p 5000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Introduction | ||
============ | ||
|
||
In the modern era, software is commonly delivered as a service: called *web apps*, or *software-as-a-service*. The twelve-factor app is a methodology for building software-as-a-service apps that: | ||
|
||
* Use **declarative** formats for setup automation, to minimize time and cost for new developers joining the project; | ||
* Have a **clean contract** with the underlying operating system, offering **maximum portability** between execution environments; | ||
* Are suitable for **deployment** on modern **cloud platforms**, obviating the need for servers and systems administration; | ||
* **Minimize divergence** between development and production, enabling **continuous deployment** for maximum agility; | ||
* And can **scale up** without significant changes to tooling, architecture, or development practices. | ||
|
||
The twelve-factor methodology can be applied to apps written in any programming language, and which use any combination of backing services (database, queue, memory cache, etc). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
version: '3' | ||
|
||
services: | ||
web: | ||
build: ./ | ||
ports: | ||
- "5000:5000" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
en: | ||
bg: | ||
# Name of language listed in locales menu | ||
language: Bulgarian (bg) | ||
|
||
# A text to make known that the article is a translation not an original. | ||
# Empty for English, original. | ||
translation: "" | ||
translation: "Превод на български" |