Skip to content

Member's handbook describing the vision, processes, and culture of Hypha πŸŒΏπŸ„

License

Notifications You must be signed in to change notification settings

hyphacoop/handbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Handbook

Hypha handbook describing the vision, processes, and culture of Hypha Worker Co-operative. πŸŒΏπŸ„

This handbook's primary audience is Hypha member-workers and collaborators, but it will be publicly available for others who might find it useful.

Old-timey web 1.0 UNDER CONSTRUCTION banner
This resource is in perpetual beta and constantly changing. If you see something that could be improved, consider this your invitation to improve it!

πŸ“ƒ License

Copyright Β© 2018-2021 individual contributors.

Unless otherwise indicated it is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. A copy is included with the handbook at LICENSE.

πŸ›  Technologies Used

  • HonKit. A command line tool to help build documentation.
  • Node.js and npm. A programming language and package manager.
  • GitHub Actions. A script-running service that deploys the handbook website for us in the cloud.

πŸ’» Local Development

To submit changes, add content, and make improvements to this handbook you can use GitHub: github.com/hyphacoop/handbook.

To edit locally, you will have to install HonKit, and Node.js (v4.0.0 or above) on your system.

It is easiest to install honkit with npm, the Node.js package manager. From your terminal, run the following command:

$ npm install honkit --save-dev

You can preview any changes you make by running a local HonKit server:

$ npx honkit serve

After starting the server, visit http://localhost:4000 (or the address indicated by the honkit serve command) in a web browser.

To test that all links works, you may run html-proofer via:

bundle install

# Run with defaults (faster)
make check

# Run slower (to avoid failing links from servers throttling you)
make check-cautious

Once you have installed the above tools, these are the steps required to make edits to existing Handbook pages:

  1. Check that your local version of the main (master) branch is up to date. If not, you should pull recent changes from GitHub. On the command line you'll have to first use git checkout master and then git pull.
  2. Create a new branch: select New branch (if using GitHub Desktop) and give it a title of whatever you're planning to work on e.g., roles-page-update. On the command line you can use git checkout -b your-branch-name.
  3. Make your edits or changes using a text editor
  4. If you're using the command line, you'll have to stage changes you want to commit. You can use git add file-name to do that.
  5. Commit the change and write a summary message for that commit. If using the command line, you can use `git commit -m "your summary message"
  6. Push the changes upstream to GitHub. With the command line you can use git push
  7. Make a pull request to the master branch from your branch
  8. Assign a co-worker to review the changes
  9. Co-worker reviews and then accepts the pull request, and the update is made

πŸš€ Deployment

The handbook is automatically built and deployed using GitHub Actions after a Pull Request is merged into master on GitHub.

See: .github/workflows/deploy-github-pages.yml

Pull requests commits are lint-checked for concerns before merging.

See: .github/workflows/test-pull-request.yml