Complete below exercises to get an overview of the Gramex features.
Write a haiku in praise of Gramex.
Install Gramex on your system and run gramex
.
Create a gramex.yaml
file in any directory and browse its contents.
Create a gramex.yaml
that runs Gramex on port 80 and logs every request to a file.
Make show “Hello {name}” when a ?name=
parameter is passed.
Make /blog/
render a simple Markdown-based blog.
Load a dataset into MySQL or PostgreSQL, and create a DataHandler that exposes that table.
Make gramex-guide without authentication and create google-auth only to /blog/
.
Display the results of git log
on a git repository.
Create a simple chatbot.
Create a dashboard showing the latest tweets and followers of any user, along with the popular tweets that mention them.
Create an album showing the latest photos of any user.
Draw a simple pie chart using data from DataHandler.
Write a form that lets users send an email.
Make Gramex log the time into time.log
on startup, and every 2 minutes.
Make Gramex log a message when a file is changed.