• Stars
    star
    7,998
  • Rank 4,436 (Top 0.09 %)
  • Language
    Swift
  • License
    MIT License
  • Created about 11 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Create useful .gitignore files for your project


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

More Repositories

1

haste-server

open source pastebin written in node.js
JavaScript
2,843
star
2

keycodes

Easy visualizer for JavaScript KeyCodes
TypeScript
2,153
star
3

chewy

High-level Elasticsearch Ruby framework based on the official elasticsearch-ruby client
Ruby
1,857
star
4

webdevchecklist.com

Web Developer Checklist
HTML
1,802
star
5

gitignore

The largest collection of useful .gitignore templates
1,580
star
6

haste-client

CLI client for haste-server
Ruby
625
star
7

active-job-style-guide

This Background Jobs style guide is a list of best practices working with Ruby background jobs.
467
star
8

crystalball

Regression Test Selection library for your RSpec test suite
Ruby
321
star
9

granite

Business Actions architecture for Rails apps
Ruby
169
star
10

picasso

Toptal UI components library
TypeScript
117
star
11

xene

🤖 Modern library with simple API to build great conversational bots.
TypeScript
65
star
12

jvm-monitoring-agent

Monitor JVM from within, detect thread blocks and automatically save threads dump
Java
50
star
13

codeowners-checker

Check .github/CODEOWNERS consistency
Ruby
49
star
14

webpack-assets

Webpack Assets for Rails
Ruby
42
star
15

BestPracticesChromeExtension

Web Developer Checklist
JavaScript
37
star
16

component-resolver-webpack

Webpack plugin that simplifies process of components loading
JavaScript
32
star
17

chewy_example

Chewy example application
Ruby
32
star
18

disqus_api

Disqus API for ruby
Ruby
23
star
19

license-cop

A nifty script that fetches the licenses for all your third-party libraries
Python
23
star
20

spring-commands-rubocop

RuboCop command for Spring
Ruby
19
star
21

chai-react-suite

JavaScript
16
star
22

archfiend

A basic daemon generator
Ruby
8
star
23

davinci-github-actions

Reusable Github Actions for davinci based applications
JavaScript
8
star
24

jenkins-job-trigger-action

GitHub Action for triggering Jenkins Jobs and wait build result.
Ruby
7
star
25

trixie

CLI tool to fetch secrets in development
Ruby
6
star
26

eslint-config-toptal

Shared eslint config for Toptal projects
JavaScript
5
star
27

rspec-any_of

any_of/all_of argument matcher for RSpec
Ruby
5
star
28

example_granite_application

Example application for Granite framework
Ruby
4
star
29

rack-rake_task

A simple Rack middleware that allows execution of Rake tasks via the HTTP request
Ruby
2
star
30

slack-mass-messenger

Allows the user to send personalized message to multiple Slack users so it appears on Slack as sent by the user themselves.
Python
2
star
31

topcall-release

1
star
32

tracker-api-load-tester

JavaScript
1
star
33

gitignore.io-docs

Gitignore.io documentation
1
star
34

testbox_bookstore_api

A dummy Rails app to act as a backend part of a demo web stack
Ruby
1
star
35

granite-form

Form builder for granite based on ActiveData
Ruby
1
star
36

rails_commander

Programmatical (Ruby) wrapper to Rails' CLI
Ruby
1
star