Update file structure to follow electron-webpack guidelines #791
2 changed files with 2 additions and 5 deletions
|
@ -63,11 +63,10 @@ exit
|
||||||
2. Open command prompt in the root of the project and run the following:
|
2. Open command prompt in the root of the project and run the following:
|
||||||
```
|
```
|
||||||
python -m pip install -r build\requirements.txt
|
python -m pip install -r build\requirements.txt
|
||||||
python build\set_version.py
|
|
||||||
npm install -g yarn
|
npm install -g yarn
|
||||||
yarn install
|
yarn install
|
||||||
```
|
```
|
||||||
3. Change directory to `app` and run the following;
|
3. Change directory to `src\main` and run the following:
|
||||||
```
|
```
|
||||||
yarn install
|
yarn install
|
||||||
node_modules\.bin\electron-rebuild
|
node_modules\.bin\electron-rebuild
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
pip install -r build\requirements.txt
|
pip install -r build\requirements.txt
|
||||||
python build\set_version.py
|
|
||||||
|
|
||||||
|
|
||||||
# Get the latest stable version of Node.js or io.js
|
# Get the latest stable version of Node.js or io.js
|
||||||
Install-Product node $env:nodejs_version
|
Install-Product node $env:nodejs_version
|
||||||
|
@ -19,7 +17,7 @@ cd ..
|
||||||
|
|
||||||
|
|
||||||
# build ui
|
# build ui
|
||||||
cd ui
|
cd src\renderer
|
||||||
yarn install
|
yarn install
|
||||||
npm rebuild node-sass
|
npm rebuild node-sass
|
||||||
node_modules\.bin\node-sass --output dist\css --sourcemap=none scss\
|
node_modules\.bin\node-sass --output dist\css --sourcemap=none scss\
|
||||||
|
|
Loading…
Reference in a new issue