Java server
This commit is contained in:
1 parent
ed924ef2ac
commit
c751f4c5e7
29 files changed
+1321
-9
No files matched your search
@@ -1,25 +0,0 @@
|
||||
# echo "Building"
|
||||
## PSVersionTable.PSVersion
|
||||
## winget install --id Microsoft.Powershell --source winget
|
||||
|
||||
mkdir dist
|
||||
npm run build
|
||||
cp -r .next/static .next/standalone/CoffeeChat/portal/.next
|
||||
cp -r .next/standalone/CoffeeChat/portal dist
|
||||
Compress-Archive -Path dist -DestinationPath dist.zip -Force
|
||||
Remove-Item dist -Recurse -Force
|
||||
|
||||
# Create an SSH session
|
||||
#$remoteUser = "cinton"
|
||||
#$remoteHost = "rootbranch.co.za:922"
|
||||
#$session = New-PSSession -HostName "rootbranch.co.za:922" -UserName "cinton" -SSHTransport
|
||||
|
||||
# Copy file from Windows to Linux
|
||||
#Copy-Item -Path dist.zip -Destination "/home/clinton/dist.zip" -ToSession $session
|
||||
|
||||
# Copy file from Linux to Windows
|
||||
# Copy-Item -Path "/home/username/file.txt" -Destination "C:\path\to\local\file.txt" -FromSession $session
|
||||
|
||||
# Close the session
|
||||
#Remove-PSSession $session
|
||||
|
||||
+3
-3
@@ -37,6 +37,6 @@ Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/bui
|
||||
|
||||
|
||||
## Publish
|
||||
|
||||
npm config set @test:registry=https://gitea.example.com/api/packages/testuser/npm/
|
||||
npm config set -- '//gitea.example.com/api/packages/testuser/npm/:_authToken' "personal_access_token"
|
||||
<!-- 72ebe222c679d3eb3cbba357a1d1f879f9952d53 -->
|
||||
npm config set @test:registry=http://git.rootbranch.co.za:7891/api/packages/clinton/npm/
|
||||
npm config set -- '//git.rootbranch.co.za:7891/api/packages/clinton/npm/:_authToken' "72ebe222c679d3eb3cbba357a1d1f879f9952d53"
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "webapp",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"name": "coffee-chat-webapp",
|
||||
"version": "0.1.2",
|
||||
"private": false,
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"build": "next build",
|
||||
|
||||
Reference in new issue
Block a user