An open API service indexing awesome lists of open source software.

https://github.com/kacperfaber/kacperfaber-app

🎈 Source code for my website - kacperfaber.pl 🎈
https://github.com/kacperfaber/kacperfaber-app

cicd landing-page react react-jss typescript webpack

Last synced: 3 months ago
JSON representation

🎈 Source code for my website - kacperfaber.pl 🎈

Awesome Lists containing this project

README

          

# kacperfaber.pl

[![build](https://github.com/kacperfaber/kacperfaber-app/actions/workflows/build.yml/badge.svg)](https://github.com/kacperfaber/kacperfaber-app/actions/workflows/build.yml)
[![publish](https://github.com/kacperfaber/kacperfaber-app/actions/workflows/publish.yml/badge.svg)](https://github.com/kacperfaber/kacperfaber-app/actions/workflows/publish.yml)

🎈 Source code for kacperfaber.pl. 🎈


Written with ❤ in TypeScript and React

## Installation

```shell
git clone https://www.github.com/kacperfaber/kacperfaber-app && cd kacperfaber-app
```

Setup project
```shell
npm ci
```

Run locally
```shell
# Run developer profile with default configuration.
# Default configuration is defined in webpack.config.dev.js
npm run run-dev
```

## Build

### Production

First we have to run default TypeScript compilation.

```shell
npx tsc
```

Make bundle using webpack

```shell
# specify 'env' parameters to configure links.
# $ github: Url to github profile
# $ twitter: Url to twitter profile
# $ stackoverflow: Url to stackoverflow profile
# $ emailTo: Contact email address, must start with mailto.
# $ contactEmail: Contact email will be rendered under the 'Kacper Faber'
npx webpack --config webpack.config.prod.js
```

> If env parameter is not specified, link won't be rendered by React.

Folder ./www is ready to be published.

## Author
Kacper Faber