mirror of
https://github.com/alextselegidis/plainpad.git
synced 2024-10-03 21:47:17 +03:00
Remove the scripts folder and keep the build.sh script
This commit is contained in:
parent
d6c97509c6
commit
8d64eca5e7
@ -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.
|
||||
|
@ -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
|
@ -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 " "
|
@ -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
|
Loading…
Reference in New Issue
Block a user