2020-09-01 17:50:36 +00:00
|
|
|
# ![Steffoweb](src/assets/opengraph.png)
|
2020-06-29 15:23:57 +00:00
|
|
|
|
2020-06-30 17:13:48 +00:00
|
|
|
My personal website in [Preact](https://preactjs.com/).
|
2020-09-01 17:50:36 +00:00
|
|
|
|
|
|
|
![maintenance: actively-developed](https://img.shields.io/badge/maintenance-actively--developed-brightgreen)
|
|
|
|
|
|
|
|
## Developing
|
|
|
|
|
|
|
|
### Running a local copy
|
|
|
|
|
|
|
|
If you want to run a local copy of the website, ensure [the latest `nodejs`](https://nodejs.org/it/) and `npm` are installed on your machine then run:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
git clone https://github.com/Steffo99/uni.steffo.eu.git
|
|
|
|
cd "uni.steffo.eu"
|
|
|
|
npm install --dev
|
|
|
|
npm run start
|
|
|
|
```
|
|
|
|
|
|
|
|
### Updating the website
|
|
|
|
|
|
|
|
To update the published website, bump up the version number in the package.json and run in the previously cloned folder:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
npm run all
|
|
|
|
```
|
|
|
|
|
|
|
|
[GitHub Pages](https://pages.github.com/) will do the rest.
|