Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start a tutorials section #54

Closed
simonw opened this issue Dec 31, 2020 · 7 comments
Closed

Start a tutorials section #54

simonw opened this issue Dec 31, 2020 · 7 comments
Labels
documentation Improvements or additions to documentation

Comments

@simonw
Copy link
Owner

simonw commented Dec 31, 2020

I'm going to put tutorials here rather than in the official Datasette documentation for a few reasons:

  • They will cover more than just Datasette itself - sqlite-utils and such like
  • I want to be able to "ship" them without releasing Datasette itself - and without linking people to the /en/latest location
@simonw simonw added the documentation Improvements or additions to documentation label Dec 31, 2020
@simonw
Copy link
Owner Author

simonw commented Jan 7, 2021

Some tutorial ideas:

  • Using an already published Datasette instance to explore some data. Need to pick a good demo here, ideally one that has some foreign-key relationships to explore.
  • Installing Datasette with brew install datasette and using it to explore your local SQLite files (found with this tip: https://til.simonwillison.net/macos/find-largest-sqlite)
  • Loading data into Datasette on your laptop from an open government portal and exploring it with datasette-cluster-map - this could use sqlite-utils or csvs-to-sqlite or it could wait until datasette insert is ready, see "datasette insert" command and plugin hook datasette#1160
  • Building a custom Datasette by writing Python code. A tutorial using the https://github.com/unitedstates/congress-legislators YAML data could be good for this.
  • Publishing the result from that last one online using datasette publish cloudrun - including how to get credentials, how to use metadata etc

@simonw
Copy link
Owner Author

simonw commented Feb 26, 2022

The first tutorial is based on this workshop I gave: https://docs.google.com/document/d/1KIsqquFCHVy3WpsU7Of1XYu0LHfZo2EP77UfAOzxU7g/edit

@simonw
Copy link
Owner Author

simonw commented Feb 26, 2022

I should ensure the tutorials are searchable, which means they probably can't just be a static template with embedded Markdown.

simonw added a commit that referenced this issue Feb 26, 2022
@simonw
Copy link
Owner Author

simonw commented Feb 26, 2022

https://datasette.io/tutorials is now live, as is the first tutorial, https://datasette.io/tutorials/explore

@simonw
Copy link
Owner Author

simonw commented Feb 26, 2022

@simonw
Copy link
Owner Author

simonw commented Feb 26, 2022

Tutorials need Twitter media cards - the link on Twitter wasn't expanded: https://twitter.com/simonw/status/1497684575551590402

image

simonw added a commit that referenced this issue Feb 27, 2022
@simonw
Copy link
Owner Author

simonw commented Feb 27, 2022

And the second tutorial: https://datasette.io/tutorials/learn-sql

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant