2021-01-21 15:05:34 +00:00
2020-06-08 17:40:06 +08:00
2020-06-08 17:40:06 +08:00
2020-06-08 17:40:06 +08:00
2020-10-26 12:18:21 +00:00
2018-07-14 07:12:46 -04:00
2018-02-24 14:14:47 -05:00
2020-06-08 17:40:06 +08:00
2020-06-08 17:40:06 +08:00
2018-06-23 18:27:56 -04:00
2018-06-24 14:26:38 -04:00
2020-06-08 17:40:06 +08:00
2020-07-28 11:40:05 +02:00
2020-06-08 17:40:06 +08:00
2019-02-07 08:00:11 -05:00
2020-06-08 17:40:06 +08:00
2017-03-31 22:56:18 -04:00
2018-10-30 21:56:52 -04:00
2019-02-10 23:17:52 -05:00
2018-10-30 21:56:52 -04:00


Create useful .gitignore files for your project

Travis Code Climate Test Coverage Code Climate Maintainability Platforms license

About

.gitignore.io is a web service designed to help you create .gitignore files for your Git repositories. The site has a graphical and command line method of creating a .gitignore for your operating system, programming language, or IDE.

.gitignore Template Source

Source templates for gitignore.io: https://github.com/toptal/gitignore

Documentation

Complete gitignore.io documentation: https://docs.gitignore.io/

Docker Container

Prerequisites

Build

Production

$ docker-compose up --build

Development

$ docker-compose -f ./docker-compose-dev.yml build
$ docker-compose -f ./docker-compose-dev.yml up

It will start the web server running on http://localhost:8080

Development mode mounts the following directories to docker volumes:

  • /Public
  • /Resources

Environment Variables

Please set your environment variables to docker configurations. All are optional.

...
services:
  app:
    ...
    environment:
      HOST_ORIGIN: http://www.example.com
      BASE_PREFIX: /foo/bar
      GOOGLE_ANALYTICS_UID:
    ...
...

HOST_ORIGIN

Origin of your web server, falls back to https://www.toptal.com

HOST_ORIGIN: http://www.example.com

BASE_PREFIX

If you want to host this web server under a subdirectory (http://www.example.com/foo/bar for example), please set this variable.

BASE_PREFIX: /foo/bar

GOOGLE_ANALYTICS_UID

User ID for Google Tag Manager snippet

GOOGLE_ANALYTICS_UID: UA-XXXXXXXX-X

E2E Tests

Tests are located in e2e-tests folder with:

  • API tests in api folder - implemented using Superagent
  • E2E tests in pages folder - implemented with Puppeteer

Prerequisites:

Running:

  • Set the BASE_URL env variable (only if you have changed the default URL or port)
  • docker-compose up --build --detach
  • yarn build
  • yarn install
  • yarn test
  • docker-compose stop
Languages
Swift 54.1%
Less 17.3%
CSS 13.8%
JavaScript 12.2%
Shell 2.2%
Other 0.4%