mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-09-11 09:06:36 +08:00
definitely didnt forget about those
This commit is contained in:
parent
6d52d8ce1b
commit
89c9557475
3 changed files with 5 additions and 5 deletions
2
.github/workflows/pr-check.yml
vendored
2
.github/workflows/pr-check.yml
vendored
|
@ -69,7 +69,7 @@ jobs:
|
|||
|
||||
- name: Install dependencies
|
||||
if: steps.filter.outputs.changes != '[]'
|
||||
run: npm run install:all
|
||||
run: npm run install-all
|
||||
|
||||
- name: Lint JSON
|
||||
if: steps.filter.outputs.any-json == 'true'
|
||||
|
|
|
@ -104,9 +104,9 @@ Follow these steps if you want to work on anything involving the database/accoun
|
|||
Once you have completed the above steps, you are ready to build and run Monkeytype.
|
||||
|
||||
1. Run `npm run install:all` in the project root to install all dependencies.
|
||||
- If you are on Windows, use `npm run install:windows`.
|
||||
- If you are on Windows, use `npm run install-windows`.
|
||||
- If neither works, you will have to run `npm install` in root, frontend, and backend directories.
|
||||
2. Run `npm run dev` (`npm run dev:fe` if you skipped the mongo section) to start a local dev server on [port 5000](http://localhost:5000). It will watch for changes and rebuild when you edit files in `src/` or `public/` directories. Note that rebuilding doesn't happen instantaneously so be patient for changes to appear. Use <kbd>Ctrl+C</kbd> to kill it.
|
||||
2. Run `npm run dev` (`npm run dev-fe` if you skipped the mongo section) to start a local dev server on [port 5000](http://localhost:5000). It will watch for changes and rebuild when you edit files in `src/` or `public/` directories. Note that rebuilding doesn't happen instantaneously so be patient for changes to appear. Use <kbd>Ctrl+C</kbd> to kill it.
|
||||
|
||||
**Mac Users:** If you get 403 Forbidden errors while trying to access the local server, go into System Preferences > Sharing and disable AirPlay Receiver - it also runs on port 5000 and takes priority, causing 403 errors.
|
||||
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
"license": "GPL-3.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"live": "npm run build:live && cd public && npx serve -p 5000",
|
||||
"live": "npm run build-live && cd public && npx serve -p 5000",
|
||||
"audit": "npx webpack --config ./webpack/config.audit.js",
|
||||
"dep-graph": "madge -c -i \"dep-graph.png\" ./src/ts",
|
||||
"build": "npx gulp build",
|
||||
"build-live": "npx gulp build-production",
|
||||
"dev": "concurrently \"webpack serve --config=./webpack/config.dev.js\" \"npx gulp watch\"",
|
||||
"deploy-live": "npm run build:live && firebase deploy -P live --only hosting",
|
||||
"deploy-live": "npm run build-live && firebase deploy -P live --only hosting",
|
||||
"tsc": "tsc"
|
||||
},
|
||||
"engines": {
|
||||
|
|
Loading…
Add table
Reference in a new issue