This commit is contained in:
SrGooglo 2020-03-18 21:02:26 +00:00
parent dd3d7ec30d
commit 24291d2f32
15 changed files with 9 additions and 1 deletions

View File

@ -20,6 +20,11 @@ stop_dev(){
show_logs(){
sudo journalctl -u comty_dev
}
update(){
git reset --merge&&git fetch --all&&git reset --hard origin/master
}
show_menus() {
clear
@ -30,18 +35,21 @@ show_menus() {
echo "2. Start Server"
echo "3. Stop Server"
echo "4. Show DevServer Logs"
echo "5. Update from Git"
echo ""
echo "0. Exit"
}
read_options(){
local choice
read -p "Enter choice [ 1 - 4 ] " choice
read -p "Enter choice [ 1 - 5 ] " choice
case $choice in
0) exit 0;;
1) start_cli_dev ;;
2) start_dev ;;
3) stop_dev ;;
4) show_logs;;
5) update;;
*) echo -e "${RED}Error...${STD}" && sleep 2
esac
}

0
globals/post_options.js Normal file → Executable file
View File

0
src/@ycore/libs/comty_layout/pre.js Normal file → Executable file
View File

0
src/components/Layout/Secondary.js Normal file → Executable file
View File

0
src/components/Layout/Secondary.less Normal file → Executable file
View File

0
src/components/Layout/SecondaryHeader.js Normal file → Executable file
View File

View File

View File

0
src/pages/g/$group/index.js Normal file → Executable file
View File

0
src/pages/g/$group/styles.less Normal file → Executable file
View File

0
src/pages/p/$post/index.js Normal file → Executable file
View File

0
src/pages/pro/index.js Normal file → Executable file
View File

0
src/pages/settings/components/earnings.js Normal file → Executable file
View File

0
src/pages/settings/components/notification.less Normal file → Executable file
View File

0
src/pages/settings/components/security.less Normal file → Executable file
View File