Skip to content

Commit

Permalink
Merge pull request #92 from gucorpling/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
amir-zeldes authored Sep 18, 2018
2 parents aa621ab + 51925c8 commit 52f4812
Show file tree
Hide file tree
Showing 33 changed files with 905 additions and 166 deletions.
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ You have three choices:
Unless you have a good reason to do (2) or (3), we recommend you do (1).

# Pull the latest Docker image
**Note:** currently, only the `gucorpling/gitdox-dev` image is available. We
**Note:** currently, only the `gucorpling/gitdox:dev` image is available. We
hope to provide a stable release soon.

First, [install Docker](https://docs.docker.com/install/). You may be able to
install it using your platform's package manager.

```bash
docker run -dit --restart unless-stopped --name gitdox-dev -p 5000:80 gucorpling/gitdox-dev
docker run -dit --restart unless-stopped --name gitdox-dev -p 5000:80 gucorpling/gitdox:dev
```

GitDox should now be running the docker container you've set up, and you may
Expand All @@ -37,7 +37,7 @@ docker stop gitdox
docker start gitdox
```

If for whatever reason you need to manually edit GitDox files, you may start a
If you need to manually edit GitDox files, you may start a
bash session inside of the Docker container:

```bash
Expand All @@ -48,6 +48,17 @@ cd /var/www/html
vim user/admin.ini # or whatever you need to edit
```

If you anticipate that you will need to heavily modify GitDox's files, you may wish
to have your GitDox folders live in your host machine's filesystem:

```bash
sudo git clone https://github.com/gucorpling/gitdox /opt/gitdox
sudo chown -R www-data:www-data /opt/gitdox
docker run -dit --restart unless-stopped --name gitdox -v /opt/gitdox:/var/www/html -p 5000:80 gucorpling/gitdox:dev gitdox
```

These commands install GitDox under `/opt` in your host machine and allows you to modify them just as you would modify any other file on your machine. But in the Docker command, with the `-v` flag we tell it to mount this folder as `/var/www/html` in the container's filesystem. The files are shared bidirectionally: changes made in the container will flow to the host, and vice versa.

# Build and run a Docker image
First, [install Docker](https://docs.docker.com/install/). You may be able to
install it using your platform's package manager.
Expand Down
Empty file modified admin.py
100644 → 100755
Empty file.
Binary file removed css/antinoou-webfont.eot
Binary file not shown.
Binary file removed css/antinoou-webfont.ttf
Binary file not shown.
Binary file removed css/antinoou-webfont.woff
Binary file not shown.
Binary file removed css/antinoouitalic-webfont.eot
Binary file not shown.
Binary file removed css/antinoouitalic-webfont.ttf
Binary file not shown.
Binary file removed css/antinoouitalic-webfont.woff
Binary file not shown.
Loading

0 comments on commit 52f4812

Please sign in to comment.