2021-07-29 20:47:30 +00:00
|
|
|
# Personal Website
|
|
|
|
|
|
|
|
See: [zeldon.ru](https://zeldon.ru).
|
|
|
|
|
2022-06-24 14:00:59 +00:00
|
|
|
My personal website. An [MIT](https://gitlab.zeldon.ru/zeldon-ru/zeldon-site/-/blob/main/LICENSE) licensed, easy modifiable.
|
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-06-24 14:00:59 +00:00
|
|
|
git clone https://gitlab.zeldon.ru/zeldon-ru/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:
|
|
|
|
```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.
|