@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
yarn lint
|
||||
# yarn lint
|
||||
|
@ -1,13 +0,0 @@
|
||||
FROM node:18-alpine as base
|
||||
|
||||
WORKDIR /home/node/app
|
||||
COPY package.json ./
|
||||
RUN npm install -g npm-check-updates
|
||||
RUN ncu -u
|
||||
RUN npm install
|
||||
COPY . ./
|
||||
|
||||
FROM base as production
|
||||
|
||||
ENV NODE_PATH=./build
|
||||
RUN npm run build
|
Before Width: | Height: | Size: 352 KiB |
Before Width: | Height: | Size: 2.0 MiB |
Before Width: | Height: | Size: 315 KiB |
Before Width: | Height: | Size: 334 KiB |
Before Width: | Height: | Size: 335 KiB |
Before Width: | Height: | Size: 334 KiB |
Before Width: | Height: | Size: 332 KiB |
Before Width: | Height: | Size: 335 KiB |
Before Width: | Height: | Size: 332 KiB |
Before Width: | Height: | Size: 330 KiB |
Before Width: | Height: | Size: 216 KiB |
@ -1,14 +0,0 @@
|
||||
version: "3.7"
|
||||
services:
|
||||
liveterm:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
target: base
|
||||
expose:
|
||||
- '3000'
|
||||
ports:
|
||||
- '3000:3000'
|
||||
volumes:
|
||||
- ./src/:/home/node/app/src
|
||||
command: npm run dev
|
@ -1,59 +0,0 @@
|
||||
#!/bin/sh
|
||||
# This script installs LiveTerm.
|
||||
#
|
||||
# Found a bug? Report it here: https://github.com/Cveinnt/LiveTerm/issues
|
||||
|
||||
set -e -u
|
||||
|
||||
eval "git clone 'https://github.com/Cveinnt/LiveTerm.git'"
|
||||
|
||||
cd LiveTerm
|
||||
|
||||
echo "LiveTerm cloned! Installing dependencies..."
|
||||
|
||||
if command -v yarn >/dev/null 2>&1 ; then
|
||||
yarn install
|
||||
else
|
||||
cat 1>&2 << 'EOA'
|
||||
/=====================================\\
|
||||
| COMMAND NOT FOUND: 'yarn' |
|
||||
\\=====================================/
|
||||
|
||||
Uh oh! We couldn't find 'yarn' installed on your system.
|
||||
|
||||
You should first install 'yarn' on your system.
|
||||
|
||||
For more information, visit yarn's installation page:
|
||||
|
||||
https://classic.yarnpkg.com/lang/en/docs/install/
|
||||
|
||||
EOA
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cat <<-'EOM'
|
||||
|
||||
|
||||
█████ ███ ███████████
|
||||
░░███ ░░░ ░█░░░███░░░█
|
||||
░███ ████ █████ █████ ██████ ░ ░███ ░ ██████ ████████ █████████████
|
||||
░███ ░░███ ░░███ ░░███ ███░░███ ░███ ███░░███░░███░░███░░███░░███░░███
|
||||
░███ ░███ ░███ ░███ ░███████ ░███ ░███████ ░███ ░░░ ░███ ░███ ░███
|
||||
░███ █ ░███ ░░███ ███ ░███░░░ ░███ ░███░░░ ░███ ░███ ░███ ░███
|
||||
███████████ █████ ░░█████ ░░██████ █████ ░░██████ █████ █████░███ █████
|
||||
░░░░░░░░░░░ ░░░░░ ░░░░░ ░░░░░░ ░░░░░ ░░░░░░ ░░░░░ ░░░░░ ░░░ ░░░░░
|
||||
|
||||
|
||||
LiveTerm has been downloaded to the current directory.
|
||||
You can start developing it with:
|
||||
|
||||
cd LiveTerm && yarn dev
|
||||
|
||||
This will open a local port at http://localhost:3000,
|
||||
where you can preview your website. To apply changes, edit:
|
||||
|
||||
config.json
|
||||
|
||||
And the changes should be applied upon saves!
|
||||
|
||||
EOM
|