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

Add tutorial #232

Open
k-dovgan opened this issue Jan 29, 2019 · 7 comments · May be fixed by #553
Open

Add tutorial #232

k-dovgan opened this issue Jan 29, 2019 · 7 comments · May be fixed by #553
Assignees
Milestone

Comments

@k-dovgan
Copy link
Contributor

Originally created on Wed, 26 Dec 2018 13:58:39 +0200

Add simple step-by-step guide as an example of usage to documentation.

@k-dovgan k-dovgan self-assigned this Jan 29, 2019
@k-dovgan k-dovgan added this to the 1.0.0 milestone Jan 30, 2019
@k-dovgan k-dovgan mentioned this issue Jan 31, 2019
6 tasks
@k-dovgan
Copy link
Contributor Author

k-dovgan commented Feb 1, 2019

Tutorials

A tutorial:

  • is learning-oriented
  • allows the newcomer to get started
  • is a lesson

Analogy: teaching a small child how to cook

How-to guides

A how-to guide:

  • is goal-oriented
  • shows how to solve a specific problem
  • is a series of steps

Analogy: a recipe in a cookery book

Explanation

An explanation:

  • is understanding-oriented
  • explains
  • provides background and context

Analogy: an article on culinary social history

Reference

A reference guide:

  • is information-oriented
  • describes the machinery
  • is accurate and complete

Analogy: a reference encyclopaedia article

(https://www.divio.com/blog/documentation/)

@k-dovgan k-dovgan assigned i-keliukh and unassigned k-dovgan Feb 4, 2019
@i-keliukh i-keliukh changed the title Add user guide Add tutorial Feb 6, 2019
@i-keliukh
Copy link
Contributor

Preliminary plan for tutorial or set of tutorials

  1. Jenkins setup with node
  2. Universum installation
  3. Setting up building of the sample project in post-commit
  • The sample project can be hosted in a forked Universum repository
  • Also include local debug
  1. Setting up the pre-commit
  2. Adding tests
  3. Adding static analysis checks with report

@i-keliukh
Copy link
Contributor

2\. Universum installation

This has to be supported by a smoke test after the installation. For the purposes of tutorial it makes sense to allow super-quick creation of test project.
Right now, there are bash scripts and configs in the repo that can serve this purpose, but they are not installed as a part of universum installation. Some options:

  1. Add tutorial functionality into the universum. For example, with some parameter/function it could generate sample project from template. Benefit: can also be used for creation of project for non-tutorial purposes.
  2. Link to the repository. As an option, it could be separate demo project repository. Benefit: project is visible on github even without need to install universum.
  3. Let user type everything or copy-paste from documentation. Benefit: easier to implement, all information in one place.
  4. Combination of the 1,2 and 3.

@k-dovgan, thoughts?

@k-dovgan
Copy link
Contributor Author

k-dovgan commented Feb 7, 2019

I'm not sure about templates, especially templates of example source code, but adding interactive universum create-config sounds not that bad. So maybe we can add some simple 'project' (like, one script, maybe?) to the guide and to the 'examples' directory, and suggest user to use this universum create-config on it? And then cite the created config in guide for user to check?

@i-keliukh
Copy link
Contributor

So maybe we can add some simple 'project' (like, one script, maybe?) to the guide and to the 'examples' directory, and suggest user to use this universum create-config on it? And then cite the created config in guide for user to check?

No, this would require user to work with repository. universum create-config should be able to work right after installation and create viable project without any additional sources.

@k-dovgan
Copy link
Contributor Author

Illia asked to add separate paragraph about updating Universum to newer version for those unfamiliar with Pip

@k-dovgan
Copy link
Contributor Author

create-config now has it's own issue: #517

@k-dovgan k-dovgan linked a pull request Nov 27, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants