mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
wolo?
This commit is contained in:
parent
dd3d7ec30d
commit
24291d2f32
@ -20,6 +20,11 @@ stop_dev(){
|
|||||||
show_logs(){
|
show_logs(){
|
||||||
sudo journalctl -u comty_dev
|
sudo journalctl -u comty_dev
|
||||||
}
|
}
|
||||||
|
update(){
|
||||||
|
git reset --merge&&git fetch --all&&git reset --hard origin/master
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
show_menus() {
|
show_menus() {
|
||||||
clear
|
clear
|
||||||
@ -30,18 +35,21 @@ show_menus() {
|
|||||||
echo "2. Start Server"
|
echo "2. Start Server"
|
||||||
echo "3. Stop Server"
|
echo "3. Stop Server"
|
||||||
echo "4. Show DevServer Logs"
|
echo "4. Show DevServer Logs"
|
||||||
|
echo "5. Update from Git"
|
||||||
|
echo ""
|
||||||
echo "0. Exit"
|
echo "0. Exit"
|
||||||
}
|
}
|
||||||
|
|
||||||
read_options(){
|
read_options(){
|
||||||
local choice
|
local choice
|
||||||
read -p "Enter choice [ 1 - 4 ] " choice
|
read -p "Enter choice [ 1 - 5 ] " choice
|
||||||
case $choice in
|
case $choice in
|
||||||
0) exit 0;;
|
0) exit 0;;
|
||||||
1) start_cli_dev ;;
|
1) start_cli_dev ;;
|
||||||
2) start_dev ;;
|
2) start_dev ;;
|
||||||
3) stop_dev ;;
|
3) stop_dev ;;
|
||||||
4) show_logs;;
|
4) show_logs;;
|
||||||
|
5) update;;
|
||||||
*) echo -e "${RED}Error...${STD}" && sleep 2
|
*) echo -e "${RED}Error...${STD}" && sleep 2
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
0
globals/post_options.js
Normal file → Executable file
0
globals/post_options.js
Normal file → Executable file
0
src/@ycore/libs/comty_layout/pre.js
Normal file → Executable file
0
src/@ycore/libs/comty_layout/pre.js
Normal file → Executable file
0
src/components/Layout/Secondary.js
Normal file → Executable file
0
src/components/Layout/Secondary.js
Normal file → Executable file
0
src/components/Layout/Secondary.less
Normal file → Executable file
0
src/components/Layout/Secondary.less
Normal file → Executable file
0
src/components/Layout/SecondaryHeader.js
Normal file → Executable file
0
src/components/Layout/SecondaryHeader.js
Normal file → Executable file
0
src/components/PostCreator/local_components/post_options.js
Normal file → Executable file
0
src/components/PostCreator/local_components/post_options.js
Normal file → Executable file
0
src/components/PostCreator/local_components/post_options.less
Normal file → Executable file
0
src/components/PostCreator/local_components/post_options.less
Normal file → Executable file
0
src/pages/g/$group/index.js
Normal file → Executable file
0
src/pages/g/$group/index.js
Normal file → Executable file
0
src/pages/g/$group/styles.less
Normal file → Executable file
0
src/pages/g/$group/styles.less
Normal file → Executable file
0
src/pages/p/$post/index.js
Normal file → Executable file
0
src/pages/p/$post/index.js
Normal file → Executable file
0
src/pages/pro/index.js
Normal file → Executable file
0
src/pages/pro/index.js
Normal file → Executable file
0
src/pages/settings/components/earnings.js
Normal file → Executable file
0
src/pages/settings/components/earnings.js
Normal file → Executable file
0
src/pages/settings/components/notification.less
Normal file → Executable file
0
src/pages/settings/components/notification.less
Normal file → Executable file
0
src/pages/settings/components/security.less
Normal file → Executable file
0
src/pages/settings/components/security.less
Normal file → Executable file
Loading…
x
Reference in New Issue
Block a user