Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
THONG NGO committed Aug 2, 2021
0 parents commit acd7ee9
Show file tree
Hide file tree
Showing 2,292 changed files with 24,109 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
23 changes: 23 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Below is a list of files/directories along with their owner.
# Owners are responsible for their files and owner approval is needed before any changes to said files can occur.
# This is managed by GitHub's "code owners" feature https://github.com/blog/2392-introducing-code-owners

# Jekyll and website design
* @t0p0lin0 @kenman345 @rawb0t @deadr0ck @joshmcintyre @hegjon @EchterAgo
_data/* @t0p0lin0 @kenman345 @rawb0t @deadr0ck @joshmcintyre @hegjon @EchterAgo
_includes/* @t0p0lin0 @kenman345
_layouts/* @t0p0lin0 @kenman345
_sass/* @t0p0lin0 @kenman345
css/* @t0p0lin0 @kenman345
img/* @t0p0lin0 @kenman345 @rawb0t @deadr0ck @joshmcintyre @hegjon @EchterAgo
js/* @t0p0lin0 @kenman345
_config.yml @t0p0lin0 @kenman345

# Core files
CNAME @acceptbitcoincash/core
LICENSE @acceptbitcoincash/core

# Miscellaneous files
data.json @kenman345
verify.rb @kenman345
Rakefile @kenman345
40 changes: 40 additions & 0 deletions .github/issue_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
**Submission Notes:** Please fill in the template below, and don't worry about exact formatting, just do your best! Use the _**Preview**_ tab to check your submission before sending it. Help for **region/country 2-letter codes** are below.

---------------
Requesting to add {{**site_name_here**}} to the {{**category_name_here**}} category. Details follow:

```yml

- name: site_name_here
url: URL_to_site_here_https_preferred
img: URL_to_image
twitter: twitter_username_no_@_symbol
facebook: facebook_username
region: see_region_code_table_below
country: see_wikipedia_link_below
city: capitalize_city_name
bch: yes_or_no
bsv: yes_or_no
btc: yes_or_no
othercrypto: yes_or_no
doc: URL_to_site_with_bitcoin_cash_announcement_or_help/support_article_etc
keywords:
- keyword1
- keyword2
```
Add more information here if necessary.
For 2-letter _region_ codes, use:
Code | Name
-- | --
af | Africa
na | North America
oc | Oceania
an | Antarctica
as | Asia
eu | Europe
sa | South America
For 2-letter _country_ codes, use [ISO_3166-1_alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) codes.
18 changes: 18 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
_site/
tmp/
*.DS_Store
*.swp
.idea/
Thumbs.db
ehthumbs.db
Gemfile.lock
.sass-cache
*.geany
*.suo
*.pyproj
scripts/python/output/
.bundle
vendor/
.jekyll-metadata
vendor/bundle/
vendor/*
1 change: 1 addition & 0 deletions .ruby-gemset
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
acceptbitcoincash
85 changes: 85 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
dist: trusty
rvm: 2.4.1
cache:
bundler: true
directories:
- vendor/bundle
- $TRAVIS_BUILD_DIR/tmp/.htmlproofer
addons:
apt:
packages:
- libcurl4-openssl-dev
- ca-certificates
stages:
- name: Test
if: sender != svenfuchs AND sender != imgbot[bot]
- name: imgbot
if: sender IN (svenfuchs, imgbot[bot])
- name: Run build
if: type IN (push, cron) AND (branch = master OR tag IS present)
jobs:
include:
- &test-baseline
stage: Test
script:
bundle exec rake

- <<: *test-baseline
script:
bundle exec rake proof_external
if: type IN (pull_request, cron) OR (type = push AND branch = master)

- stage: imgbot
script:
bundle exec rake verify

- stage: Run build
sudo: true
env:
NEXT_BUILD_TAG=latest
script:
- if [ "$TRAVIS_TAG" != "" ]; then
NEXT_BUILD_TAG=`date +"%m-%d-%Y"`;
fi
- if [ "$TRAVIS_EVENT_TYPE" == "cron" ]; then
NEXT_BUILD_TAG=`date +"%m-%d-%Y"`;
fi
- echo ".git" > .dockerignore
- echo $NEXT_BUILD_TAG
- bundle exec rake docker:build
- docker tag acceptbitcoincash/acceptbitcoincash acceptbitcoincash/acceptbitcoincash:"$NEXT_BUILD_TAG"
- cp ./_site/js/main.js ./js/main.js
deploy:
- provider: script
skip-cleanup: true
script:
# - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin; docker push acceptbitcoincash/acceptbitcoincash
docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"; docker push acceptbitcoincash/acceptbitcoincash
on:
all_branches: true # <== new!
condition: $NEXT_BUILD_TAG != "latest"
- provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure
fqdn: beta.acceptbitco.in
keep-history: true
repo: acceptbitcoincash/acceptbitcoincash
target_branch: gh-pages
on:
all_branches: true # <== new!
allow_failures:
- stage: Test
script:
bundle exec rake proof_external
if: type IN (pull_request, cron) OR (type = push AND branch = master)
notifications:
webhooks:
urls: https://www.travisbuddy.com/
on_failure: always
on_success: never
slack:
rooms:
- secure: "vIMiDIutWLX4xPWK4+HRh39MdAaNLl+UcK7UjNlehHIuopZPbnH+TmqFg5726ZDhkQ6QN/lHYVuHTvW9Kp+f7uiuRX2QLJH4vZZrcvsXeRccWbVx7MlMW9hbOnvB73nUmezaHploSpMINKWRD51PhLlONbztLCzYmOoBfLRDvrmEY7kzoiMFCCZwPIzIiyB1LrEhSQD3YELgZ+ZDipFUeVA2yrBKZSZZoM7ubcpqNZHhx+3uAJrpQ66k36eprrXM7IC8Qy8u2AcV1hNnczNM+jUts/PKyCjH4vIjh4JEVNN/gBLY30oDOR6d95szme/4BWEPCcP2Sz3MQTtkN5tXaAmRRKqwYUv+lB0lTB5EB28SD9Sa3Q6HJhIQ5BVuO0Lmdwe8CVBTy7lmwcyuUqW5y0MHQF6HAZj2lSN8pktInFD40o+FQgC03YEiXWJbCYzny7LmE0T6ZgycvFzr/S28cDXiPemPMg4333aDjHj02631gRZtMG9dh7u35UnjuWU1Qs2ke2Irx2GJadp5LHp7++ssHWdmZKVJlKSvh679QCNvlG5CvWD/VinBvibTR61Py+b0Zk+k3++fz3YcJZ89ZCAyQ4yWCsGB7nNjpaMYcBHgHwgNBF6Gk3x71A2N3NfQrm2pcoB3+KM3QMVFmZrUD74Ni8TLXOdK2GHmYaqMI9A="
on_success: change
on_failure: always
on_pull_requests: change
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
acceptbitcoin.cash
Loading

0 comments on commit acd7ee9

Please sign in to comment.