Skip to content

0.1.1 Release #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 25 commits into from
Apr 5, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
974bdd2
Move container manger to node:alpine
Toshbrown Mar 28, 2017
10fb2eb
Merge pull request #16 from me-box/fet/node_alpine
Toshbrown Apr 3, 2017
4f32211
Merge remote-tracking branch 'origin/master' into development
Toshbrown Apr 3, 2017
d4b109e
Update Git ignore
Toshbrown Apr 3, 2017
e94333e
Seed dev mode local registries with images automatically
Toshbrown Apr 4, 2017
7239dac
update changelog
Toshbrown Apr 4, 2017
ff23b1d
Merge pull request #24 from me-box/fet/reg_seed_update
yousefamar Apr 4, 2017
0098f9b
These don't change
Toshbrown Apr 4, 2017
e2dae2b
Remove pointless passing around of vars
Toshbrown Apr 4, 2017
7063be5
simplify killall
Toshbrown Apr 4, 2017
e3d88d9
remove dockerHelper list networks
Toshbrown Apr 4, 2017
966889a
const not var
Toshbrown Apr 5, 2017
a8fb075
getNetwork should just get the network
Toshbrown Apr 5, 2017
7357bda
Don't create network if it exists
Toshbrown Apr 5, 2017
33a2f01
syntax
Toshbrown Apr 5, 2017
262f744
Simplify listNetworks
Toshbrown Apr 5, 2017
37954f2
Remove create container it is not needed!
Toshbrown Apr 5, 2017
7633b06
refactor
Toshbrown Apr 5, 2017
c5185f8
Remove repeated code
Toshbrown Apr 5, 2017
addf39f
Small fixes
Toshbrown Apr 5, 2017
46746ae
const or let not var
Toshbrown Apr 5, 2017
0b890ed
Clean up console output abit
Toshbrown Apr 5, 2017
85d286e
Network create debug output
Toshbrown Apr 5, 2017
79d0776
Changelog and readme tweaks
Toshbrown Apr 5, 2017
17cdc7c
Merge pull request #26 from me-box/fet/cm_cleanup
Toshbrown Apr 5, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@ node_modules
sladatastore.db
certs/*
updateLocalRegistry.sh

\.DS_Store
scripts/*
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,16 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

### Added

### Changed


## [0.1.1] 2017-04-05
### Changed
* Moved databox container manger to node:alpine to save bandwidth. #14
* Removed the need to run update updateLocalRegistry.sh #13
* code cleanup in container-manager.js
* Update to local registry Env Vars
* reduced size of databox-export service

## [0.1.0] 2017-03-24

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:latest
FROM node:alpine

ADD ./package.json /package.json
RUN npm install --production
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ Once Its started point a web browser at 127.0.0.1:8989 and have fun. This is dat

## Development

To develop for the Databox platform, it may be necessary to run the platform in dev mode. This will enable a local app store and image repository to be run in containers on your machine. In this mode it is possible to build and replace any part of the platform.@
To develop for the Databox platform, it may be necessary to run the platform in dev mode. This will enable a local app store and image repository to be run in containers on your machine. In this mode it is possible to build and replace any part of the platform.

First get the clone this repository:

git clone https://github.com/me-box/databox-container-manager.git
cd databox-container-manager
git clone https://github.com/me-box/databox.git
cd databox
npm install

Then launch in dev mode by executing `sudo ./platformDevMode.sh`. A new container will be launched, and additional instructions will be presented.
Then launch in dev mode by executing `./platformDevMode.sh`. A new container will be launched, and additional instructions will be presented.

NB: Mount ./certs and ./slaStore as volumes if you want ssl certs and launched apps to save between restarts.

Expand Down
2 changes: 1 addition & 1 deletion platformDevMode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ docker create \
-e "DATABOX_DEV=1" \
--label databox.type=container-manager \
-p 8989:8989 \
-t node:latest npm --prefix /cm start
-t node:alpine npm --prefix /cm start


docker start -i databox-cm
2 changes: 1 addition & 1 deletion sdkDevMode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ docker create \
-e "DATABOX_SDK=1" \
--label databox.type=container-manager \
-p 8989:8989 \
-t node:latest npm --prefix /cm start
-t node:alpine npm --prefix /cm start


docker start -i databox-cm
Loading