This repository has been archived by the owner on Dec 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
7 changed files
with
36 additions
and
7 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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
.git | ||
.gitignore | ||
*.md | ||
Dockerfile | ||
*Dockerfile | ||
*.sh | ||
!docker-entrypoint.sh | ||
deploy | ||
test | ||
example | ||
|
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,8 @@ | ||
web/.build/* # Build folder | ||
web/public/* # ignore all public resources | ||
.[^.]* # any hidden (dot) files | ||
*.md # Markdown files | ||
*.css # CSS files | ||
test # test files | ||
node_modules # dependencies | ||
*.yml # yml files |
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,10 @@ | ||
FROM mhart/alpine-node:0.10.48 | ||
ENV NODE_ENV development | ||
RUN apk add --update git python build-base && \ | ||
npm install -g nodemon bower && \ | ||
mkdir -p /usr/src/app /usr/src/cp-translations /usr/src/cp-zen-frontend | ||
WORKDIR /usr/src/app | ||
ADD docker-entrypoint.sh /usr/src | ||
VOLUME /usr/src/app /usr/src/cp-translations /usr/src/cp-zen-frontend | ||
EXPOSE 8000 | ||
CMD ["/usr/src/docker-entrypoint.sh"] |
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,13 @@ | ||
#! /usr/bin/env sh | ||
cd /usr/src/cp-translations || exit | ||
npm link | ||
cd /usr/src/cp-zen-frontend || exit | ||
npm link | ||
cd /usr/src/app || exit | ||
# Dont chain this command to following commands as the post install ins going to fail | ||
npm install | ||
npm link cp-translations && \ | ||
npm link cp-zen-frontend && \ | ||
bower install --allow-root | ||
npm run gulp dev & | ||
nodemon --ignore .bower service.js |
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 was deleted.
Oops, something went wrong.