zeldon-site/README.md

47 lines
1.3 KiB
Markdown
Raw Permalink Normal View History

2021-07-29 20:47:30 +00:00
# Personal Website
See: [zeldon.ru](https://zeldon.ru).
2022-08-23 12:45:07 +00:00
My personal website. An [MIT](https://git.zeldon.ru/zeldon/zeldon-site/src/branch/main/LICENSE) licensed, easy modifiable.
Mirror on my [<img src="https://git.zeldon.ru/assets/img/logo.svg" align="center" width="20" height="20"/> Git](https://git.zeldon.ru/zeldon/zeldon-site)
2021-07-29 20:47:30 +00:00
## Dependencies
Only [Vite](https://vitejs.dev/) for development and bundling.
## Set up
To download the repository and install dependencies, run the following commands:
```bash
2022-08-23 12:45:07 +00:00
git clone https://git.zeldon.ru/zeldon/zeldon-site.git
2021-07-29 20:47:30 +00:00
cd zeldon-site
npm install
```
## Running
Run the following command to build the application and serve it with fast refresh:
```bash
npm run dev
```
Your web browser should automatically open to `<ip>:<port>:<path>` default: [http://localhost:3000/](http://localhost:3000/).
## Static export
To statically export the site, run this command:
2022-08-23 12:45:07 +00:00
2021-07-29 20:47:30 +00:00
```bash
npm run build
```
This generates a static export of the website as `zeldon-site/dist/`. Copy this and self-host or deploy to a CDN.
## Acknowledgements
* Background animation: [WebGL-Fluid-Simulation](https://github.com/PavelDoGreat/WebGL-Fluid-Simulation) by [@PavelDoGreat](https://github.com/PavelDoGreat).
2022-04-15 22:25:49 +00:00
* Special thanks to [@xm1ller](https://github.com/xm1ller) for tirelessly answering all of my css questions.