38 lines
548 B
Markdown
38 lines
548 B
Markdown
|
# Luna
|
||
|
|
||
|
My personal website.
|
||
|
|
||
|
## Requirements
|
||
|
|
||
|
- Node 14.x
|
||
|
- Yarn 1.x
|
||
|
- Gulp CLI
|
||
|
|
||
|
## Building
|
||
|
|
||
|
This uses [Gulp](https://gulpjs.com) to build CSS and optimize images.
|
||
|
|
||
|
To build a development bundle:
|
||
|
|
||
|
```bash
|
||
|
foo@bar:~/luna$ gulp
|
||
|
```
|
||
|
|
||
|
The output will be in the `dist/` folder.
|
||
|
|
||
|
To build a production bundle:
|
||
|
|
||
|
```bash
|
||
|
foo@bar:~/luna$ NODE_ENV=production gulp
|
||
|
```
|
||
|
|
||
|
# Local Development Server
|
||
|
|
||
|
Build the website using the above commands, then run:
|
||
|
|
||
|
```bash
|
||
|
foo@bar:~/luna$ yarn dev
|
||
|
```
|
||
|
|
||
|
You will then be able to access the website on the provided URLs.
|