This repository has been archived by the owner on Apr 23, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 943
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* endgame * disable subscribe button * 2.0.0 * disable subscription check via env var * install ts globally * update .gitignore * refactor docker-compose and Dockerfile * Remove the -g from the typescript install as it doesn't work (#281) Co-authored-by: M Gilang Januar <mgilangjanuar@gmail.com> * update api base url in docker * update postman link * remove 402 * simplify installation and remove some pages * init docs directory * add docs page * update config and assets url in docs * update domain name * update readme.md Co-authored-by: X_Shadow_ <33694505+shadowdevfr@users.noreply.github.com>
- Loading branch information
1 parent
6b39758
commit 56a690e
Showing
56 changed files
with
9,119 additions
and
11,941 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
node_modules/ | ||
.DS_Store | ||
.vscode/ | ||
dist/ | ||
build/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
FROM node:14.19.0 as build | ||
FROM node:16.14.0 as build | ||
ARG NPM_TOKEN | ||
|
||
WORKDIR /apps | ||
COPY package.json . | ||
|
||
COPY yarn.lock . | ||
COPY ./package.json . | ||
COPY package.json . | ||
RUN echo "//npm.pkg.github.com/:_authToken=${NPM_TOKEN}" > ~/.npmrc && \ | ||
echo "@mgilangjanuar:registry=https://npm.pkg.github.com/" >> ~/.npmrc && \ | ||
yarn install && \ | ||
rm -f ~/.npmrc | ||
echo "@mgilangjanuar:registry=https://npm.pkg.github.com/" >> ~/.npmrc | ||
# RUN npm i react-scripts -g --force --silent && \ | ||
# npm i typescript --force | ||
RUN yarn install | ||
RUN rm -f ~/.npmrc | ||
COPY . . | ||
RUN yarn workspaces run build | ||
RUN yarn workspaces run build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,16 @@ | ||
NPM_TOKEN=your_github_token | ||
|
||
# server configuration | ||
ENV=production | ||
RPS= | ||
ENV=develop | ||
|
||
TG_API_ID= | ||
TG_API_HASH= | ||
TG_BOT_TOKEN= | ||
TG_BOT_OWNER_ID= | ||
TG_BOT_ERROR_REPORT_ID= | ||
|
||
DB_USERNAME= | ||
DB_PASSWORD= | ||
|
||
GITHUB_TOKEN= | ||
API_JWT_SECRET=WDpojmXTH4ZPl3N2khUPPcAezLLpc8Mm | ||
FILES_JWT_SECRET=nWHVW3arIdjC8Vy3g9rU2N6sKWmfPp7Z | ||
|
||
API_JWT_SECRET= | ||
FILES_JWT_SECRET= | ||
|
||
PAYPAL_CLIENT_ID= | ||
PAYPAL_CLIENT_SECRET= | ||
PAYPAL_PLAN_PREMIUM_ID= | ||
|
||
MIDTRANS_MERCHANT_ID= | ||
MIDTRANS_CLIENT_KEY= | ||
MIDTRANS_SERVER_KEY= | ||
|
||
UTILS_API_KEY= | ||
# web configuration | ||
REACT_APP_TG_API_ID= | ||
REACT_APP_TG_API_HASH= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Dependencies | ||
/node_modules | ||
|
||
# Production | ||
/build | ||
|
||
# Generated files | ||
.docusaurus | ||
.cache-loader | ||
|
||
# Misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
teledriveapp.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Website | ||
|
||
This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator. | ||
|
||
### Installation | ||
|
||
``` | ||
$ yarn | ||
``` | ||
|
||
### Local Development | ||
|
||
``` | ||
$ yarn start | ||
``` | ||
|
||
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. | ||
|
||
### Build | ||
|
||
``` | ||
$ yarn build | ||
``` | ||
|
||
This command generates static content into the `build` directory and can be served using any static contents hosting service. | ||
|
||
### Deployment | ||
|
||
Using SSH: | ||
|
||
``` | ||
$ USE_SSH=true yarn deploy | ||
``` | ||
|
||
Not using SSH: | ||
|
||
``` | ||
$ GIT_USER=<Your GitHub username> yarn deploy | ||
``` | ||
|
||
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
presets: [require.resolve('@docusaurus/core/lib/babel/preset')], | ||
}; |
Oops, something went wrong.