Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mgschoen/portfolio
A simple personal webpage for showing off
https://github.com/mgschoen/portfolio
Last synced: 30 days ago
JSON representation
A simple personal webpage for showing off
- Host: GitHub
- URL: https://github.com/mgschoen/portfolio
- Owner: mgschoen
- License: mit
- Created: 2018-06-29T10:39:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T03:19:34.000Z (almost 2 years ago)
- Last Synced: 2024-05-27T17:31:46.792Z (6 months ago)
- Language: CSS
- Size: 8.73 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# portfolio
A simple personal webpage for showing off
## Usage
Source files are located in `./src` folder. Running `yarn run build` will compile them for production and store them in the `./dist` folder.
### Local development
For a simple development server with live reloading run `yarn start`. Webpack will serve your bundled files at `localhost:8080` and open a browser window. Whenever a file changes, webpack recompiles and reloads the browser window.
### Content editing
Content is stored in the `./content` folder. For each `.njk` template in the `./src` folder, there exists a `.json` file with the same name in this folder. These files hold the data that is directly passed on to the templates during build.
For content changes to apply, restart your dev server or re-build manually.
### Release
Files in `./dist` folder are meant to be served statically with an http server. For the current installation, the process can be automated by running
```
$ yarn run deploy
```Note that you need to set the following environment variables for the script to work:
* `ARGONN_SSH_USER`
* `ARGONN_SSH_PASSWORD`
* `ARGONN_HTTP_USER`
* `ARGONN_HTTP_PASSWORD`