Skip to content

Commit cfc00ba

Browse files
committed
Working Docker
1 parent dd696f1 commit cfc00ba

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# xivapi.com - v3 [![Build Status](https://travis-ci.org/xivapi/xivapi.com-v3.svg?branch=master)](https://travis-ci.org/xivapi/xivapi.com-v3)
22

3+
## Getting Setup
4+
5+
Make a folder where all XIVAPI projects (including Mogboard) can sit:
6+
7+
- `mkdir xivapi`
8+
- `cd xivapi`
9+
10+
Clone XIVAPI (or Mogboard) and Docker
11+
12+
- `git clone https://github.com/xivapi/xivapi.com-v3.git`
13+
- `git clone https://github.com/xivapi/xivapi.com-docker.git`
14+
15+
Build and run the docker
16+
17+
- `cd xivapi.com-docker`
18+
- `docker-compose build`
19+
- `docker-compose up -d`
20+
21+
Add to your hosts file: `127.0.0.1 xivapi.local`
22+
23+
324

425
## XDebug
526
- IDE Key: PHPSTORM

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ services:
1717
ports:
1818
- "9000:9001"
1919
volumes:
20-
- ../xivapi:/var/www/xivapi:cached
20+
- ../xivapi.com-v3:/var/www/xivapi:cached
2121
- ./docker/logs/symfony:/var/www/xivapi/var/log:cached
2222
links:
2323
- db
@@ -31,7 +31,7 @@ services:
3131
links:
3232
- php
3333
volumes:
34-
- ../xivapi:/var/www/xivapi:cached
34+
- ../xivapi.com-v3:/var/www/xivapi:cached
3535
- ./docker/logs/nginx:/var/log/nginx:cached
3636
mysql:
3737
image: mysql

0 commit comments

Comments
 (0)