Skip to content

Commit

Permalink
Update for versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Tane Piper committed Sep 27, 2017
1 parent 12ae2a3 commit 6252f16
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 9 deletions.
37 changes: 35 additions & 2 deletions README.md
@@ -1,2 +1,35 @@
# blueprint-takeoff-basic
A basic blueprint for getting an environment up and running in Takeoff
# Takeoff Basic Blueprint

This Blueprint is the first one released for Takeoff. When you install Takeoff, it will immediately clone
this repository into it's default environment.

You will find several folders and files:

```bash
-|
|- env # The place where code and assets are placed that make up your applications
|- api # This is the Hapi API Server
|- app # This is the frontend app
|- nginx # Nginx configuration
|- db # Postgres DB config
|- docker # Where the docker configurations are kept
|- api # This is the Hapi API Server docker config
|- app # This is the frontend app docker config
|- nginx # Nginx docker config
|- db # Postgres DB docker config
|- docker-compose.yml # The docker compose file that is used to generate and run the stack
|- README.md # The file you are looking at!
```

Inside the docker folder and several docker files which create the environments.

The default environments are listed below with the main environments from their docker files.

|name |packages |version|description|
|---- |------- |-------|-----------|
|api |node |8.5.0 |Hapi-powered API that comes pre-build with a user and authentication plugin, uses nodemon for changes.|
|app |node |8.5.0 |Webpack/React app that is hot-reloaded on changes|
|db |postgres |9.6 |Postgres database|
|server |ngnix |1.13.x |Ngnix Proxy|

Run via docker compose, you can begin to add plugins to the Hapi server. You can easily add your own docker images for other services such as redis, memcache, mysql, etc.
2 changes: 1 addition & 1 deletion docker/api/Dockerfile.dev
@@ -1,4 +1,4 @@
FROM node:8.4.0
FROM node:8.5.0

RUN useradd --user-group --create-home --shell /bin/false envuser
ENV HOME=/home/envuser
Expand Down
2 changes: 1 addition & 1 deletion docker/app/Dockerfile.dev
@@ -1,4 +1,4 @@
FROM node:8.4.0
FROM node:8.5.0

RUN useradd --user-group --create-home --shell /bin/false envuser
ENV HOME=/home/envuser
Expand Down
2 changes: 1 addition & 1 deletion docker/db/postgres/Dockerfile.dev
@@ -1 +1 @@
FROM postgres:9.5
FROM postgres:9.6
2 changes: 1 addition & 1 deletion docker/server/Dockerfile.dev
@@ -1,4 +1,4 @@
FROM nginx:1.13.3
FROM nginx:1.13

ADD /env/nginx/conf/nginx.dev.conf /etc/nginx/nginx.conf

Expand Down
15 changes: 12 additions & 3 deletions package.json
@@ -1,7 +1,16 @@
{
"name": "takeoff-blueprint-basic",
"version": "0.1.0",
"version": "0.0.0",
"description": "A basic blueprint for Takeoff",
"keywords": ["takeoff", "blueprint", "basic"],
"licence": "MIT"
"keywords": [
"takeoff",
"blueprint",
"basic"
],
"licence": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/takeoff-env/takeoff-blueprint-basic.git"
},
"author": "Tane Piper <piper.tane@gmail.com>"
}

0 comments on commit 6252f16

Please sign in to comment.