Create useful .gitignore files for your project https://www.toptal.com/developers/gitignore
  • Swift 57.5%
  • Less 19.9%
  • JavaScript 15.1%
  • Dockerfile 5.1%
  • Shell 2.3%
Find a file
2024-12-23 12:12:40 -03:00
.github Update CODEOWNERS 2024-12-23 12:12:40 -03:00
.travis Upading templates from https://github.com/toptal/gitignore 2021-04-06 18:04:47 +03:00
e2e-tests Fix security issues (#578) 2022-04-21 19:34:35 +05:00
gitignore@0a7fb01801 sync templates 2023-07-04 10:17:20 +03:00
Localizations Add czech language (#610) 2023-03-07 13:57:18 +02:00
Public [SAT-433] Measure Field Data in Google Analytics (#551) 2021-09-14 08:34:02 -03:00
Resources [TRA-1723] Move all assets to webpack (#541) 2021-06-30 09:30:42 -03:00
Sources Add czech language (#610) 2023-03-07 13:57:18 +02:00
src [SAT-433] Measure Field Data in Google Analytics (#551) 2021-09-14 08:34:02 -03:00
Tests Add order API endpoint (#413) 2018-07-14 07:12:46 -04:00
.dockerignore Add Docker support (#393) 2018-02-24 14:14:47 -05:00
.gitignore [SAT-299] update templates 2021-09-27 16:50:06 +03:00
.gitmodules Migrate to Toptal (#494) 2020-06-08 17:40:06 +08:00
.swift-version Changed version to 4.1 2018-06-23 18:27:56 -04:00
.swiftlint.yml Fix Swiftlint rules 2018-06-24 14:26:38 -04:00
app.json Updated master template list - Fixes #237 2017-01-28 14:03:41 -05:00
docker-compose-dev.yml [SAT-284] Define platform on docker-compose-dev (#544) 2021-08-03 08:15:15 -03:00
docker-compose.yml chore(docker): Optimize dockerfile (#582) 2022-12-12 15:32:13 +02:00
Dockerfile chore(docker): Optimize dockerfile (#582) 2022-12-12 15:32:13 +02:00
jest-puppeteer.config.js Migrate to Toptal (#494) 2020-06-08 17:40:06 +08:00
jest.config.js Migrate to Toptal (#494) 2020-06-08 17:40:06 +08:00
LICENSE.md Update licnese date 2019-02-07 08:00:11 -05:00
package.json Fix security issues (#578) 2022-04-21 19:34:35 +05:00
Package.pins Updated to swift 3.1 (#328) 2017-03-31 22:56:18 -04:00
Package.resolved Fixes #407 2018-10-30 21:56:52 -04:00
Package.swift Fix package.swift 2019-02-10 23:17:52 -05:00
Procfile Fixes #407 2018-10-30 21:56:52 -04:00
README.md Add explicit license information about files generated by the public website. (#564) 2021-11-22 12:28:54 -03:00
webpack.config.js [TRA-1723] Move all assets to webpack (#541) 2021-06-30 09:30:42 -03:00
yarn.lock Bump @sideway/formula from 3.0.0 to 3.0.1 (#611) 2023-03-07 12:02:36 +00: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

License of the generated files

All files generated by https://www.toptal.com/developers/gitignore are under CC0.

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

LESS and CSS

The app uses LESS as its CSS preprocessor for the files in Public/css.

To process the less file you need to:

  • Install all dependencies with yarn install
  • Process the assets with yarn build

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 gitupdate
  • yarn install
  • yarn build
  • yarn test
  • docker-compose stop