My GitHub profile page. You can change the configuration of the page by changing config.json file and run the install. See the demo.
- Prepare your
config.json
change the information according to your credentials. - Rename
.env-sample
to.env
and fill in your environment variable (GitHub Tokens) - Install node package
npm install
- Generate
nodes.json
andedges.json
by runningnode index.js
- Then open it :
- PHP Server :
php -S 127.0.0.1:80
- XAMPP, LAMP, MAMP, WAMP Server
- Nginx, Apache
- etc
docker run -d -p 80:80 \
--name agung2001.github.io \
-v /path/to/config.json:/usr/share/nginx/html/config.json \
-v /path/to/avatar.jpg:/usr/share/nginx/html/assets/img/avatar.jpg \
-v /path/to/cover.jpg:/usr/share/nginx/html/assets/img/cover.jpg \
-v /path/to/config.json:/usr/share/nginx/html/nodes.json \
-v /path/to/config.json:/usr/share/nginx/html/edges.json \
agung2001/agung2001.github.io:latest
- NOTE: Don't forget to change the
/path/to/
accordingly
Please refer to GitHub Docs - Creating a personal access token to create personal access token.
Please set the expiration to no expiration
and enable : Repo
and User
scope to see the screenshot.
This repo comes with livereload module, to learn more please goto gruntjs/grunt-contrib-watch
- Install node package
npm install
- Generate
nodes.json
andedges.json
by runningnode index.js
- Generate
- Build asset
grunt build
- Watch
grunt watch
- Watch
Help support me by giving a star or donate