Remove the scripts folder and keep the build.sh script

This commit is contained in:
Alex Tselegidis 2023-07-26 12:08:36 +02:00
parent d6c97509c6
commit 8d64eca5e7
5 changed files with 16 additions and 44 deletions

View File

@ -9,7 +9,7 @@
</h1>
<h4 align="center">
Plainpad is a self hosted note taking application.
Plainpad is a self-hosted note taking application.
</h4>
<h4 align="center">
@ -50,8 +50,8 @@ $ git clone https://github.com/alextselegidis/plainpad.git
# Go into the repository
$ cd plainpad
# Setup Project
$ ./project setup
# Start Docker
$ docker compose up -d
```
Note: If you're using Linux Bash for Windows, [see this guide](https://www.howtogeek.com/261575/how-to-run-graphical-linux-desktop-applications-from-windows-10s-bash-shell/) or use `node` from the command prompt.

View File

@ -30,4 +30,16 @@ cp README.md build/
echo "Zip Build"
cd build
find . -name '.DS_Store' -type f -delete
zip build.zip -r .
zip -r build.zip . \
-x .git/**\* \
-x .idea/**\* \
-x tests/**\* \
-x .editorconfig \
-x .gitattributes \
-x .phpstorm.meta.php \
-x .prettierignore \
-x package-lock.json \
-x phpunit.xml \
-x _ide_helper.php \
-x vite.config.js \
-x \*.zip

View File

@ -1,7 +0,0 @@
#!/bin/bash
COMMAND=$1
shift
./scripts/$COMMAND.sh $@

View File

@ -1,15 +0,0 @@
#!/bin/bash
echo " "
echo "Project CLI Utility"
echo " "
echo "Example:"
echo " "
echo " ./project COMMAND ARGUMENT1 ARGUMENT2 ..."
echo " "
echo "Commands:"
echo " "
echo " build Build the project package."
echo " help Output help information on the available CLI commands."
echo " setup Setup the project after a fresh clone."
echo " "

View File

@ -1,18 +0,0 @@
#!/bin/bash
echo "Setup Server"
cd server
composer install
cd ../../
echo "Setup Client"
cd client
cp .env.example .env
npm install
cd ../../
echo "Create .env File"
cp .env.example .env
echo "Change Storage Permissions"
chmod -R 777 server/storage