Skip to content

Commit a604233

Browse files
committed
Initial commit
0 parents  commit a604233

File tree

128 files changed

+15747
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+15747
-0
lines changed

.autoreload.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"watch": "**/**",
3+
"reload": "**/**"
4+
}

.eslintrc.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es6": true,
5+
"node": true
6+
},
7+
"extends": [
8+
"airbnb-base"
9+
],
10+
"globals": {
11+
"Atomics": "readonly",
12+
"SharedArrayBuffer": "readonly"
13+
},
14+
"parserOptions": {
15+
"ecmaVersion": 2018,
16+
"sourceType": "module"
17+
},
18+
"rules": {
19+
"import/extensions": 0,
20+
"no-undef": 0
21+
}
22+
}

.github/pull_request_template.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Pull Request
2+
3+
<!-- Describe changes here -->
4+
5+
## Checklist
6+
7+
- [ ] I have performed a self-review of my code
8+
- [ ] If it is a core feature, I have added thorough tests.
9+
- [ ] Do we need to implement analytics?
10+
- [ ] Will this be part of a product update? If yes, please write one phrase about this update.

.github/workflows/main.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 15
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Setup Node.js
18+
uses: actions/setup-node@v2
19+
with:
20+
node-version: '20.x'
21+
22+
- run: npm install
23+
24+
- name: Run eslint
25+
run: npm run eslint
26+
27+
- name: Run tests
28+
run: npm test

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
*.db
3+
*.log

404.html

Lines changed: 319 additions & 0 deletions
Large diffs are not rendered by default.

LICENCE

Lines changed: 661 additions & 0 deletions
Large diffs are not rendered by default.

Makefile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
install:
2+
npm install
3+
npm install -g simple-autoreload-server
4+
5+
lint:
6+
npm run eslint
7+
8+
run:
9+
autoreload-server
10+
11+
test:
12+
npm test
13+
14+
15+
.PHONY: test

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# ftuyama.github.io
2+
3+
![Build status](https://github.com/ftuyama/ftuyama.github.io/workflows/Tests/badge.svg?branch=master)[![Code Climate](https://codeclimate.com/github/ftuyama/ftuyama.github.io/badges/gpa.svg)](https://codeclimate.com/github/ftuyama/ftuyama.github.io)
4+
5+
This is my personal portfolio website, using vanilla HTML/JS/CSS.
6+
7+
## Run the project
8+
9+
Install dependencies:
10+
11+
```bash
12+
make install
13+
```
14+
15+
Run it with autoreload using:
16+
17+
```bash
18+
make run
19+
```
20+
21+
Then the app should be available at <http://localhost:8080>
22+
23+
## Running tests
24+
25+
Validate URLs and image formats using:
26+
27+
```bash
28+
make test
29+
```

0 commit comments

Comments
 (0)