www/README.md

48 lines
877 B
Markdown
Raw Permalink Normal View History

2021-06-21 10:47:30 -06:00
# GF4 Public Website
2018-01-16 20:08:47 -07:00
2021-06-21 10:47:30 -06:00
Homepage for **Galactic Fortress 4**, served at [www.gf4.pw](https://www.gf4.pw/). This website was built with [Eleventy](https://github.com/11ty/eleventy) static site generator and forked from [its base blog starter project](https://github.com/11ty/eleventy-base-blog).
2018-01-16 20:21:05 -07:00
2018-01-22 23:22:24 -07:00
[![Build Status](https://travis-ci.org/11ty/eleventy-base-blog.svg?branch=master)](https://travis-ci.org/11ty/eleventy-base-blog)
2021-06-21 10:47:30 -06:00
## Installation
2018-01-16 20:21:05 -07:00
2020-01-02 20:43:41 -07:00
### 1. Clone this Repository
2018-01-16 20:21:05 -07:00
```
2021-06-21 10:47:30 -06:00
git clone https://gitea.gf4.pw/gf4/www.git gf4-www
2018-01-16 20:21:05 -07:00
```
2018-01-16 20:34:35 -07:00
2018-01-16 20:22:47 -07:00
### 2. Navigate to the directory
2018-01-16 20:21:05 -07:00
```
2021-06-21 10:47:30 -06:00
cd gf4-www
2018-01-16 20:21:05 -07:00
```
2018-01-16 20:22:47 -07:00
### 3. Install dependencies
2018-01-16 20:21:05 -07:00
```
npm install
```
2021-06-21 10:47:30 -06:00
### 4. Build
2018-01-16 20:21:05 -07:00
```
npx eleventy
```
Or build and host locally for local development
```
npx eleventy --serve
```
2018-01-16 20:21:05 -07:00
Or build automatically when a template changes:
```
npx eleventy --watch
```
Or in debug mode:
```
DEBUG=* npx eleventy
2018-01-16 20:34:35 -07:00
```