Skip to content

ValentinMrcn/staticman_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"Bio.tools Entry" a test on staticman application

Introduction: Static man

Staticman is a Node.js application that receives user-generated content and uploads it as data files to a GitHub repository. In practice, this allows you to have dynamic content (e.g. blog post comments) as part of a fully static website, as long as your site automatically deploys on every push to GitHub, as seen on GitHub Pages, Netlify and others.

...read more

This project

This is a sample page to demonstrate how Staticman can be used to integrate user-generated content into a static site.

When the form is submitted, the data is sent to the Staticman API via Ajax, which will push it to the GitHub repository and cause a regeneration of the Jekyll site.

This staticman config is based on popcorn demo, following the staticman doc, but as staticman bot is broken we use the static man app currently under development

Requirement and run

sudo apt-get install ruby-full build-essential zlib1g-dev

gem install jekyll

RUN

cd staticman_test

jekyll serve

Go to : http://127.0.0.1:4000/

Links

About

test on staticman application

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •