Skip to content

Commit

Permalink
Topology and website guide done
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiacarlone committed Jul 25, 2024
1 parent c093565 commit 89cf3a2
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions src/guides/website_creation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,28 @@

_updated: Jul 23rd, 2024_

COSI websites are stored in docker containers on Tiamat.
COSI websites are stored in docker containers on [Tiamat](../infrastructure/servers/tiamat.md).

1. Get permission

2. Create a DNS entry for your website on [zones](https://github.com/COSI-Lab/zones).
- Websites are hosted on [Tiamat](../infrastructure/servers/tiamat.md)
- in both db.cosi and db.cslabs files create a new entry
```
<website name> IN CNAME tiamat
website_name IN CNAME tiamat
```
- follow the directions in the zones' readme
- follow the directions in the readme for zones
3. Place your repo on tiamat in the `/docker` folder with a `docker-compose.yaml`, a `Dockerfile`, and a `nginx.conf` and anything else you need.
3. Place your repo on Tiamat in the `/docker` folder with a `docker-compose.yaml`, a `Dockerfile`, and anything else you need.
4. Run the containers using `./run.sh`
4. Update /docker/caddy/Caddyfile with your website information
```
websitename.cslabs.clarkson.edu{
reverse_proxy websitename:80
}
websitename.cosi.clarkson.edu{
reverse_proxy websitename:80
}
# note: not all entries look like this and more information can be entered
```
5. Restart all the containers using `./run.sh`

0 comments on commit 89cf3a2

Please sign in to comment.