Giter Site home page Giter Site logo

lcc_familyinformation_prototype's Introduction

lcc sharepoint prototype kit

An Express application to allow designers to quickly prototype designs on both desktop and mobile devices and to allow the business to comment early on in the design process.

The application includes both lcc_frontend_toolkit and lcc_templates_nunjucks npm packages.

The project was initially cloned from govuk_prototype_kit and provides detailed documentation on how to use the toolkit and how to deploy to heroku.

The steps to create a new prototype from this repo are as follows:

  1. Clone this repo and rename to an appropriate name

    git clone https://github.com/lccgov/lcc_subsites_prototype.git <appropriate name> 
  2. Remove .git folder and initialize empty Git repo

    git init 
  3. Create new GitHub repo with the same name.

  4. Add remote repo created in step 3 to local Git repo:

    git remote add origin https://github.com/lccgov/<GitHub repo> 
  5. Create a new app in Heroku with the same name as the repo. Also, add config variables for username and password so that the general public are unable to access it and to prevent Google from crawling the site.

  6. Update the .travis.yml file with the new Heroku app name and API key. The API key must be encrypted using the Travis CLI as it is being source controlled on GitHub publically. More information can be found on the lcc_designer_setup_documentation repo.

  7. Log onto Travis CI and toggle the new repository so that Travis CI is aware when a push has taken place to that GitHub repository.

  8. Perform an initial commit and push to GitHub, which will kick of a Travis CI build which will deploy the site to Heroku accessible at [appname].herokuapp.com.

NOTE: We are also able to run the Node.js Express web application locally instead of pushing to Heroku by simply typing ‘gulp’ in the Integrated Terminal (Views/Integrated Terminal) in VS Code when the particular prototype project is open in the editor. This will start a local web server, accessible at: http://localhost:3000 although the port can change if already in use by another process.

lcc_familyinformation_prototype's People

Contributors

lccgov avatar davidhunter08 avatar

Watchers

James Cloos avatar Nigel avatar  avatar  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.