Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
8d8c6e53
Commit
8d8c6e53
authored
Aug 24, 2021
by
ioedeveloper
Committed by
yann300
Aug 25, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Setup production build script in package.json and readme.md
parent
4144c889
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
README.md
README.md
+12
-0
package.json
package.json
+1
-0
No files found.
README.md
View file @
8d8c6e53
...
@@ -50,6 +50,18 @@ Run `nx serve` and open `http://127.0.0.1:8080` in your browser.
...
@@ -50,6 +50,18 @@ Run `nx serve` and open `http://127.0.0.1:8080` in your browser.
Then open your
`text editor`
and start developing.
Then open your
`text editor`
and start developing.
The browser will automatically refresh when files are saved.
The browser will automatically refresh when files are saved.
## Production Build
To generate react production builds for remix-project.
```
bash
npm run build:production
```
build can be found in
`remix-project/dist/apps/remix-ide`
directory.
```
bash
npm run serve:production
```
production build will be served by default to
`http://localhost:8080/`
or
`http://127.0.0.1:8080/`
## Docker:
## Docker:
Prerequisites:
Prerequisites:
...
...
package.json
View file @
8d8c6e53
...
@@ -54,6 +54,7 @@
...
@@ -54,6 +54,7 @@
"make-mock-compiler"
:
"node apps/remix-ide/ci/makeMockCompiler.js"
,
"make-mock-compiler"
:
"node apps/remix-ide/ci/makeMockCompiler.js"
,
"minify"
:
"uglifyjs --in-source-map inline --source-map-inline -c warnings=false"
,
"minify"
:
"uglifyjs --in-source-map inline --source-map-inline -c warnings=false"
,
"build:production"
:
"NODE_ENV=production npx nx build remix-ide --with-deps"
,
"build:production"
:
"NODE_ENV=production npx nx build remix-ide --with-deps"
,
"serve:production"
:
"npx http-server ./dist/apps/remix-ide"
,
"nightwatch_parallel"
:
"npm run build:e2e && nightwatch --config dist/apps/remix-ide-e2e/nightwatch.js --env=chrome,firefox"
,
"nightwatch_parallel"
:
"npm run build:e2e && nightwatch --config dist/apps/remix-ide-e2e/nightwatch.js --env=chrome,firefox"
,
"nightwatch_local_firefox"
:
"npm run build:e2e && nightwatch --config dist/apps/remix-ide-e2e/nightwatch.js --env=firefox"
,
"nightwatch_local_firefox"
:
"npm run build:e2e && nightwatch --config dist/apps/remix-ide-e2e/nightwatch.js --env=firefox"
,
"nightwatch_local_chrome"
:
"npm run build:e2e && nightwatch --config dist/apps/remix-ide-e2e/nightwatch.js --env=chrome"
,
"nightwatch_local_chrome"
:
"npm run build:e2e && nightwatch --config dist/apps/remix-ide-e2e/nightwatch.js --env=chrome"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment