See site in english Voir le site en francais
Website skin:
home  download  forum  link  contact

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

Author Topic: jarmonik.org: I created a homepage for jarmonik  (Read 349 times)

0 Members and 1 Guest are viewing this topic.

Online majid

  • Jr. Member
  • **
  • Posts: 48
  • Karma: 14
08 January 2023, 17:53:02
Hey all. As you may have noticed, jarmonik's homepage went down due to his hosting provider no longer providing service. He in the past expressed the desire to have his own homepage. Since jarmonik is a legendary contributor to Orbiter, I took the liberty to put this homepage together for him. If someone could pass this message along to him on Orbiter-Forum that'd be appreciated  :beer:

jarmonik.org

To jarmonik:

The github repo for the site is here: https://github.com/computerex/jarmonik.org

I have added you as a collaborator. GitHub hooks have been setup to build jarmonik.org automatically when changes are pushed.

I hope this is useful to you. You only need to clone the repo, make changes in markdown and push. No need to run/build site on local, but you can by installing golang then running the makesite/serve scripts.

(all content is in simple markdown files. create new ones in the posts folder to make new posts, create new ones in the root folder to create new pages)

« Last Edit: 08 January 2023, 18:19:32 by majid »

Offline jarmonik

  • Jr. Member
  • **
  • Posts: 35
  • Karma: 1
Reply #1 - 10 January 2023, 15:59:43
Hi, This is really a surprise I didn't expect anything like this. I don't know what to say, Thank you. I am a bit unfamiliar with "Go" language but that shouldn't be a problem. If I want to add some graphics then *.jpg(s) go in to the "content" folder I assume ?  I am currently occupied by other things, so, it may take a few days before I have time to play around with the site and study it. Also, I try to build the site locally so that I can verify modifications to it before publishing them. I also hope to get some Orbiter projects going to get new content to the site.

Where is the site actually hosted ?

:beer:
Jarmo


Online majid

  • Jr. Member
  • **
  • Posts: 48
  • Karma: 14
Reply #2 - 10 January 2023, 17:28:00
It's an honor, thank you for everything you have done for Orbiter  :wor:

The site is being hosted on a digital ocean droplet.

In order to run the site locally, you will just need golang installed on your system: https://go.dev/doc/install

Then you can build the static site and serve it locally with the included test web server:

Code: [Select]
go run makesite.go
go run serve.go

Any files you place in the `/static` directory will automatically get served. I have added these to demo this:

http://jarmonik.org/test.jpg
http://jarmonik.org/foo.txt

`content/_index.md` has all the content for the main home page.
`content/posts` has all the posts. You can create as many as you want. The top 5 show up on home page.

You can create as many markdown files under content directory and they show up as pages. One example is the about page created at jarmonik.org/about

You can modify the template files in `layout` folder to alter the look and feel of the site.

If you run into any issues, have any questions or need any help in customizing/personalizing the site please do let me know.

 :beer: