Skip to content

Commit 7ec6db4

Browse files
Merge pull request #15 from Aksh-Bansal-dev/patch-2
Latest
2 parents 1f97f2e + 3ad8d0b commit 7ec6db4

88 files changed

Lines changed: 4686 additions & 16454 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,4 +159,5 @@ GitHub.sublime-settings
159159

160160
# React #
161161
frontend/node_modules
162-
frontend/.eslintcache
162+
frontend/.eslintcache
163+
node_modules/

CONTRIBUTING.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Contributing to TPC-website
2+
3+
I want to make contributing to this project as easy and transparent as possible, whether it's:
4+
5+
- Reporting an issue
6+
- Submitting a fix
7+
- Proposing new features
8+
9+
## Code of Conduct
10+
11+
The code of conduct is described in [`CODE_OF_CONDUCT.md`](CODE_OF_CONDUCT.md).
12+
13+
## Standard Commit Messages
14+
15+
This project is using the [conventional commits](https://www.conventionalcommits.org/en/v1.0.0-beta.2/) standard. Please follow these steps to ensure your
16+
commit messages are standardized:
17+
18+
- Commit messages should have this format:
19+
`<type>[optional scope]: <description>`
20+
- Type should be `fix`(if fixed some bug), `feat`(if added new feature), `docs`(changes in documentation) or `test`(added new tests)
21+
- Scope should be `frontend` or `backend` or `global` if your changes affects both.
22+
- Description should be concise.
23+
- Example: `docs(global): CONTRIBUTING.md added`
24+
25+
> Note: All the commits should be made from the root directory of the repository
26+
27+
## Local Setup
28+
29+
- Fork and clone the repository.
30+
- Add remote upstream `git add upstream https://github.com/BitByte-TPC/TPC-website.git`
31+
- Run `npm i` in the root directory of the repository.
32+
33+
### Frontend setup
34+
35+
- Run `cd frontend`
36+
- Run `yarn install` to install all dependencies.
37+
- Run `yarn start` to start the server and visit [site](http://localhost:3000).
38+
> Note: This app uses `yarn` as the package manager, so do not use `npm` in frontend as it may cause some conflicts.
39+
40+
### Before making PR
41+
42+
- Run `git fetch upstream` & `git rebase upstream/main` to fetch updated codebase into your local repository before creating any new branch.
43+
- Run `git checkout -b <your-branch-name>`
44+
45+
## License
46+
47+
By contributing to TPC-website, you agree that your contributions will be licensed
48+
under the [LICENSE file](LICENSE).

bitbyte/__init__.py

Whitespace-only changes.

bitbyte/settings.py

Lines changed: 0 additions & 121 deletions
This file was deleted.

bitbyte/urls.py

Lines changed: 0 additions & 11 deletions
This file was deleted.

bitbyte/wsgi.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

frontend/.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules/
2+
src/setupTests.ts

frontend/.eslintrc.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
module.exports = {
22
extends: [
33
"plugin:@typescript-eslint/recommended",
4-
"plugin:jest/recommended",
54
"plugin:prettier/recommended",
65
],
7-
plugins: ["react", "@typescript-eslint", "jest"],
6+
plugins: ["@typescript-eslint"],
87
env: {
98
browser: true,
109
es6: true,
@@ -17,7 +16,7 @@ module.exports = {
1716
},
1817
ecmaVersion: 2018,
1918
sourceType: "module",
20-
project: "./tsconfig.json",
19+
// project: "./tsconfig.json",
2120
},
2221
rules: {
2322
"prettier/prettier": [

frontend/.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/

0 commit comments

Comments
 (0)