GithubHelp home page GithubHelp logo

techpunk316 / service-manual-publisher Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alphagov/service-manual-publisher

0.0 1.0 0.0 1.6 MB

Publishes the Service Manual on GOV.UK

Home Page: https://docs.publishing.service.gov.uk/apps/service-manual-publisher.html

License: MIT License

Ruby 79.78% JavaScript 6.86% CSS 0.22% HTML 8.53% PLpgSQL 4.60% Shell 0.01%

service-manual-publisher's Introduction

Service-manual-publisher

Service Manual Publisher is used for publishing and maintaining https://gov.uk /service-manual. This application, together with service-manual-frontend replaced the previous Jekyll-based service manual.

Screenshots

Landing page screenshot

Edit interface screenshot

Nomenclature

  • Guide: A guide is the main document format used for manuals.
  • Guide Community: A profile page that represents the community who curate a collection of guides.
  • Topic: A collection of guides.
  • Point: A point from the service standard.

Technical documentation

PostgreSQL-backed Rails 4 "Publishing 2.0" application for internal use, with no public facing aspect.

There is some disparity between the content as it appears in the database, and the content as it appears in the publishing api. This will need to be addressed if we switch to using the publishing api as our main data store in the future.

The Service manual's guide pages have a nested URL structure which is unusual for GOV.UK. The pros and cons to the nested URL structure are retrospectively documented.

Dependencies

Optional dependencies

To handle image uploads

To persist and render guides

NB: Every application above may have its own dependencies

You will need to clone down all these repositories, and run the following commands for each one:

bundle
bundle exec rake db:setup

Development

To run the application in development you will need at least one user in the application database. In a rails console do:

User.create!(name: "My Name", email: "[email protected]")

You can use Bowler to automatically run the application and all of its dependencies. To do this, you'll need to check out the development repository where the Pinfile is located.

cd /var/govuk/development
bowl service-manual-publisher service-manual-frontend

Alternatively, run ./startup.sh in the service-manual-publisher directory on the development VM.

cd /var/govuk/service-manual-publisher
./startup.sh

The application runs on port 3111 by default. If you're using the GDS VM it's exposed on http://service-manual-publisher.dev.gov.uk.

The application has a style guide that can be accessed on /style-guide.

Testing

bundle exec rake

Licence

MIT License

service-manual-publisher's People

Contributors

36degrees avatar andrewgarner avatar andrewvos avatar barrucadu avatar benh-gds avatar brenetic avatar cbaines avatar chrisroos avatar danielburnley avatar deborahchua avatar dependabot-support avatar dougdroper avatar elliotcm avatar emmabeynon avatar gemmaleigh avatar h-lame avatar keithiopia avatar kevindew avatar kushalp avatar kylemacpherson avatar mcmillan avatar sihugh avatar steventux avatar surminus avatar suzannehamilton avatar tadast avatar thehenster avatar thomasleese avatar tijmenb avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.