-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
youngtype
committed
Jan 15, 2022
1 parent
11df13a
commit 3918679
Showing
5 changed files
with
82 additions
and
7 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -45,6 +45,7 @@ build | |
dll | ||
main.js | ||
main.js.map | ||
venv | ||
|
||
.idea | ||
npm-debug.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 |
---|---|---|
@@ -1,11 +1,80 @@ | ||
# Forcebuy Activator | ||
# Package manager: yarn | ||
# Scripts: | ||
## Requirements | ||
|
||
Install Windows SDK by installing [Visual Studio](https://visualstudio.microsoft.com/ru/downloads/) (requirement of node-gyp, select MS SDK and Classic Console CPP apps in Visual Studio Installer) | ||
Install [Python](https://www.python.org/) | ||
Install pyinstaller pip module globally: | ||
|
||
```bash | ||
pip install pyinstaller | ||
``` | ||
|
||
Install virtualenv pip package globally: | ||
|
||
```bash | ||
pip install virtualenv | ||
``` | ||
|
||
Create a Virtual Environment using “virtualenv” pip module wich was installed at previous step: | ||
|
||
```bash | ||
# write it in root dir | ||
cd src/python | ||
virtualenv venv | ||
``` | ||
|
||
Activate Virtual Environment and install requirements: | ||
|
||
```bash | ||
# write it in src/python dir | ||
source venv/Scripts/activate | ||
pip install -r requirements.txt | ||
``` | ||
|
||
Install node-gyp npm package globally: | ||
|
||
```bash | ||
npm i -g node-gyp | ||
``` | ||
|
||
Install rimraf npm package globally: | ||
|
||
```bash | ||
npm i -g rimraf | ||
``` | ||
|
||
Install concurrently npm package globally: | ||
|
||
```bash | ||
npm i -g concurrently | ||
``` | ||
|
||
Install electron-rebuild npm package globally: | ||
|
||
```bash | ||
npm i -g electron-rebuild | ||
``` | ||
|
||
Install yarn npm package globally: | ||
|
||
```bash | ||
npm i -g yarn | ||
``` | ||
|
||
## Deploy requirements | ||
|
||
Copy github personal token with repo scope from package.json and add it to Windows environment variables as GH_TOKEN. | ||
|
||
Before "yarn deploy" dont forget to bump app version in src/package.json | ||
|
||
## Package manager: yarn | ||
|
||
## Main scripts | ||
|
||
```bash | ||
# start | ||
yarn start | ||
# package without publish | ||
# package all app without publish | ||
yarn package | ||
# package and publish to github | ||
# package all app and publish it to github | ||
yarn deploy | ||
``` | ||
``` |
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
Binary file not shown.
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,5 @@ | ||
Flask | ||
flask-cors | ||
requests | ||
pywinauto | ||
flask_limiter |