Starting new projects

We have several project templates for you to pick from, when starting a new project:

Our templates include:

  • checking if source code has been formatted with prettier
  • linting JS files with our config
  • linting CSS files with our config
  • common scripts, e.g. for starting development or deploying to production
  • minimal continuous integration
  • basic folder structure
  • GitHub pull request template
  • Elm: minifying compiled JS
  • Elm: watching/compiling files on save

How to use our project template as a starting point

1. Click on the Use this template button on GitHub

Screen Shot 2019 06 13 At 09 56 40

In case you want to read more about it, here is GitHub’s own guide.

2. Update README and package.json

Next step is updating the README and package.json to have the correct name and description of the project.

Note: You can hide unused parts of the README without deleting it. Add <!-- and everything below won’t be visible.

3. Enabling Travis CI

Last step is setting up continuous integration. To have your code checked on pull requests and to enable deployments go to travis-ci.com/profile/diesdasdigital and enable your project via the toggle button.

Then click on the settings icon and enable:

✅ Build only if .travis.yml is present

✅ Build pushed branches

✅ Build pushed pull requests

✅ Auto cancel branch builds

✅ Auto cancel pull request builds