A collection of "pomp-branded" websites https://pompy.dev
Find a file
2021-07-31 08:48:45 +09:00
.github/workflows fixed github action cache 2021-06-27 19:00:37 +09:00
.vscode added custom words for vscode 2021-07-30 15:07:11 +09:00
source added goals page 2021-07-31 08:48:45 +09:00
.gitignore added tags, changed data structure, separated unsearchable posts from regular posts 2021-07-30 15:15:10 +09:00
.prettierrc moving from hexo theme to my own react design 2021-05-15 00:30:19 +09:00
CONTRIBUTING.md fixed grammatical errors and resolved ambiguity 2021-06-22 17:05:32 +09:00
downloading.png moving from hexo theme to my own react design 2021-05-15 00:30:19 +09:00
firebase.json fixed github action by changing firebase target 2021-06-27 14:47:57 +09:00
LICENSE initial commit 2021-02-13 16:02:10 +09:00
LICENSE_OFL moving from hexo theme to my own react design 2021-05-15 00:30:19 +09:00
README.md added basic explanation for how the project works 2021-07-30 15:06:32 +09:00

developomp-site

code style: prettier

Repository for my (developomp's) website.

Tools / Frameworks / Packages used:

Name Use
AWS Domain register
Firebase Static site hosting
react Front end framework
gray-matter Parsing markdown files
react-tooltip Tooltips
react-date-range Date picker for search page

Setup

Requirements:

Steps:

  • Clone this repository
    • git clone https://github.com/developomp/developomp-site.git
  • Or download as a zip file
    • download procedure
  • open source directory
    • cd source
  • Install dependencies (must be in source directory)
    • yarn install
  • start local server in http://localhost:3000
    • yarn start

Contributing

Please read the CONTRIBUTING.md file.

How it works

The command yarn start does two things under the hood.

First it executes the generate.ts script to convert markdown files to json files so it can be imported by react during runtime. The script also creates map.js file which is used to search posts without having to go through all of them each time. To just generate these files without starting the app, run yarn generate command in the source directory.

Then it serves the app in http://localhost:3000 as normal just like any other react apps.

The yarn build command will create files that can be served in the actual website.

Special thanks

License

This project is licensed under the MIT License.
Check the LICENSE file for more information.

Font license:

Open Font License (OFL) (Source):