Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
stevepeak committed Nov 21, 2015
1 parent 599fe44 commit 50f437a
Show file tree
Hide file tree
Showing 19 changed files with 56 additions and 386 deletions.
75 changes: 0 additions & 75 deletions CHANGELOG.md

This file was deleted.

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ COPY docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY docker/nginx.conf /etc/nginx/nginx.conf
COPY codecov /home/codecov

EXPOSE 5000
EXPOSE 80
CMD ["/usr/bin/supervisord"]
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
# ** For Codecov Dev team only **
# run from docker terminal. Search "docker" in Alfred
build:
docker build -t codecov/enterprise .

runi:
docker run -t -i -p 5000:5000 \
docker run -t -i -p 5000:80 \
-v /Users/peak/Documents/codecov/codecov.yml:/codecov.yml \
codecov/enterprise bash

run:
docker run -t -p 5000:5000 \
docker run -t -p 5000:80 \
-v /Users/peak/Documents/codecov/codecov.yml:/codecov.yml \
codecov/enterprise

Expand Down
2 changes: 0 additions & 2 deletions Procfile

This file was deleted.

49 changes: 0 additions & 49 deletions app.json

This file was deleted.

73 changes: 0 additions & 73 deletions config/nginx.conf.erb

This file was deleted.

5 changes: 0 additions & 5 deletions config/readme.md

This file was deleted.

26 changes: 0 additions & 26 deletions config/web.supervisord.conf.erb

This file was deleted.

16 changes: 0 additions & 16 deletions config/worker.supervisord.conf.erb

This file was deleted.

38 changes: 38 additions & 0 deletions demo.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# install docker
curl -sSL https://get.docker.com/ | sh

# start docker
sudo service docker start

# pull Codecov Enterprise
docker pull codecov/enterprise

# create config file
curl http://git.io/v4Aco > codecov.yml

# Start Codecov
docker run -d -p 80:80 -v codecov.yml:/codecov.yml codecov/enterprise

ip=ifconfig | grep 'eth0:' -n1 | tail -1 | rev | cut -d' ' -f1 | rev

echo "
_____ _
/ ____| | |
| | ___ __| | ___ ___ _____ __
| | / _ \\ / _\` |/ _ \\/ __/ _ \\ \\ / /
| |___| (_) | (_| | __/ (_| (_) \\ V /
\\_____\\___/ \\__,_|\\___|\\___\\___/ \\_/
Thank you for choosing Codecov!
Please navigate to http://$ip
PS: In demo mode reports will be deleted after 48 hours
You can request a 45 day license key to have no restrictions.
Inquire at [email protected]
Support: https://github.com/codecov/support
Cheers!
The Codecov Family
"
18 changes: 0 additions & 18 deletions heroku.md

This file was deleted.

2 changes: 1 addition & 1 deletion docker/nginx.conf → nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ http {
keepalive_timeout 30;

server {
listen 5000;
listen 80;
server_name _;
keepalive_timeout 5;
client_max_body_size 50M;
Expand Down
Loading

0 comments on commit 50f437a

Please sign in to comment.