-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #67 from linnovate/mean-update
Merge new mean version
- Loading branch information
Showing
103 changed files
with
6,466 additions
and
2,549 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
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 |
---|---|---|
@@ -1,18 +1,26 @@ | ||
language: node_js | ||
sudo: false | ||
node_js: | ||
- "0.10" | ||
- "0.12" | ||
- "4.0" | ||
- "4.2" | ||
- "5.0" | ||
env: | ||
- NODE_ENV=development | ||
services: | ||
- mongodb | ||
|
||
before_install: | ||
- npm i -g bower | ||
|
||
notifications: | ||
webhooks: | ||
urls: | ||
- https://webhooks.gitter.im/e/08c84711c36e875930d0 | ||
- https://hooks.slack.com/services/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 | ||
on_success: change # options: [always|never|change] default: always | ||
on_failure: always # options: [always|never|change] default: always | ||
on_start: false # default: false | ||
on_start: always # default: false | ||
|
||
|
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,20 @@ | ||
## Contributing | ||
|
||
### Reporting an Issue | ||
1. Please make sure that there is not an issue already open | ||
2. If that's the case, then add your observations in that same issue | ||
3. If your issue is unique, add following details in the issue | ||
1. OS name and version | ||
2. NodeJS and NPM version : Output of `node -v` and `npm -v` | ||
3. MEAN Status : Output of `mean status` in project directory | ||
4. Tracelog : The error that got printed on the console | ||
5. Any other relevant details | ||
4. Add `[Feature]` in the title if its a suggestion rather than an issue that you would like to see in MEAN. | ||
|
||
|
||
### Creating a pull request | ||
1. There should be an issue for every pull request that is being created. If there is none, create it. | ||
2. Make sure that your changes are passing the test but running `npm test` | ||
3. If there are any lint warning, cleanup those as well | ||
4. In the comments for pull request mention the issues that you are solving by this pull request | ||
5. Create the pull request |
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,32 @@ | ||
FROM node:0.10 | ||
|
||
RUN mkdir -p /usr/src/app | ||
WORKDIR /usr/src/app | ||
|
||
RUN npm install -g mean-cli bower gulp | ||
|
||
RUN groupadd -r node \ | ||
&& useradd -r -m -g node node | ||
|
||
COPY . /usr/src/app/ | ||
RUN rm -rf /usr/src/app/node_modules | ||
RUN chown -R node:node /usr/src/app | ||
|
||
USER node | ||
RUN touch /home/node/.mean | ||
RUN npm install | ||
ENV PORT 3000 | ||
ENV DB_PORT_27017_TCP_ADDR db | ||
CMD [ "npm", "start" ] | ||
EXPOSE 3000 | ||
|
||
|
||
#How to build: | ||
# git clone https://github.com/linnovate/mean | ||
# cd mean | ||
# docker build -t mean . | ||
|
||
#How to run: | ||
# docker pull mongo | ||
# docker run -d --name db mongo | ||
# docker run -p 3000:3000 --link db:db mean |
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
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
Oops, something went wrong.