2020-03-01 20:25:46 +00:00
|
|
|
# `uni.steffo.eu`
|
|
|
|
|
|
|
|
A [Preact](https://preactjs.com/) website with all things I've used to prepare for university exams!
|
|
|
|
|
|
|
|
## Contributing
|
|
|
|
|
|
|
|
All contributions are welcome! :D
|
|
|
|
|
|
|
|
### 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
|
|
|
|
npm run start
|
|
|
|
```
|
|
|
|
|
|
|
|
### Updating the website
|
|
|
|
|
|
|
|
To update the published website, run in the previously cloned folder:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
npm run build
|
|
|
|
git add docs
|
|
|
|
git commit -m "Update website"
|
|
|
|
git push
|
|
|
|
```
|
2020-03-01 20:34:19 +00:00
|
|
|
|
|
|
|
[GitHub Pages](https://pages.github.com/) will do the rest.
|