Skip to content

Commit f239ddc

Browse files
committed
skeleton website
1 parent 424f02b commit f239ddc

File tree

4 files changed

+23
-0
lines changed

4 files changed

+23
-0
lines changed

website/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
FROM php:7.4-apache
2+
RUN a2enmod rewrite

website/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# C# Data Visualization Website
2+
3+
This folder contains source code for the website
4+
https://swharden.com/csdv
5+
6+
## Run the Website Locally
7+
8+
* Install [Docker](https://www.docker.com/)
9+
* `cd` into this folder and `docker-compose -p csdv up -d`
10+
* Navigate to [http://localhost:8082](http://localhost:8082)

website/docker-compose.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: "2"
2+
services:
3+
csdv:
4+
build:
5+
context: .
6+
dockerfile: ./Dockerfile
7+
ports:
8+
- "8082:80"
9+
volumes:
10+
- ./:/var/www/html

website/index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
hello

0 commit comments

Comments
 (0)