master
alex 2024-01-13 21:05:59 +01:00
parent ec9516e5e4
commit 86fe12300a
6 changed files with 32 additions and 3 deletions

23
.gitignore vendored Normal file
View File

@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
/.pnp
.pnp.js
# testing
/coverage
# production
/build
# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
npm-debug.log*
yarn-debug.log*
yarn-error.log*

View File

@ -1,3 +1,6 @@
###
# TODO: CHANGE THESE VALUES TO CUSTOMER DASHBAORD !!!
DOCKER_REGISTRY_URL="dockreg.ex.umbach.dev" DOCKER_REGISTRY_URL="dockreg.ex.umbach.dev"
DOCKER_IMAGE_NAME="jnx-admin-dashboard-proxy" DOCKER_IMAGE_NAME="jnx-admin-dashboard-proxy"

View File

@ -4,4 +4,4 @@ read -p "Commit message: " commit_message
git commit -m "$commit_message" git commit -m "$commit_message"
git push -u origin main git push -u origin master

View File

@ -27,7 +27,7 @@
"web-vitals": "^2.1.4" "web-vitals": "^2.1.4"
}, },
"scripts": { "scripts": {
"start": "BROWSER=none HOST=localhost PORT=50151 react-scripts start", "start": "BROWSER=none HOST=127.0.0.1 PORT=50127 react-scripts start",
"build": "react-scripts build", "build": "react-scripts build",
"test": "react-scripts test", "test": "react-scripts test",
"eject": "react-scripts eject" "eject": "react-scripts eject"

View File

@ -1,3 +1,4 @@
import { Button } from "antd";
import { useTranslation } from "react-i18next"; import { useTranslation } from "react-i18next";
export default function StoreCalendar() { export default function StoreCalendar() {
@ -6,6 +7,8 @@ export default function StoreCalendar() {
return ( return (
<> <>
<h1>{t("calendar.pageTitle")}</h1> <h1>{t("calendar.pageTitle")}</h1>
<Button />
</> </>
); );
} }

View File

@ -1,2 +1,2 @@
screen -dmS customer-dashboard | exit 0 screen -dmS customer-dashboard | exit 0
screen -S customer-dashboard -p 0 -X stuff 'npm start\n' screen -S customer-dashboard -p 0 -X stuff 'npm run build && serve -l tcp://127.0.0.1:50127 -s build\n'