Помощь с G5API + G5V

Limbo

Участник
Сообщения
184
Реакции
34
Ребята кто может понятно сделать мануал по установки этих двух замечательных вещей

G5V G5V
G5API G5API
 

Rolzzandik

Участник
Сообщения
492
Реакции
234
Ребята кто может понятно сделать мануал по установки этих двух замечательных вещей

G5V G5V
G5API G5API
Блин чел несмешно же
 

Limbo

Участник
Сообщения
184
Реакции
34
Блин чел несмешно же
И правда не смешно ни чего не выходит, думаешь я это не видел? Второй день уже пошел!
 

Fess23

Cунтаго
Сообщения
528
Реакции
136
In order to get this up and running on a fresh install, we first need to acquire some dependencies. If you've already installed G5API, you're halfway there if you have Node setup.

First step is to add vue-cli-service:

yarn global add @vue/cli
Attempt to try using vue on the command line by entering

vue
If nothing is found, you will need to edit your PATH. Open ~/.bashrc in your favourite text editor, and add the following to the end:
export PATH="/home/YOURUSER/.yarn/bin:$PATH" where YOURUSER is your folder.

Once that's done, clone the project to your server.

git clone GitHub - PhlexPlexico/G5V: A web panel using the G5API.
Enter into that directory, then run:

yarn
yarn build
This will build a production ready build, which you can now use your preferred web server to run it!

If you do not wish to run through a web server and setup reverse proxies, there is a way to run it through the command line. You will need to edit your vue.config.js file to change the following to your domains:
public - must contain the URL of your Get5Vue instance. target - Under proxy, this must link back to your API. If it's running on the same machine, then this can be left as localhost. If not, adjust as need be.

Once this is complete, simply issue yarn serve in the directory, and it will spin up the web server. You can even set it as a service, and enable it on boot as well!
Что тебе с этого не понятно?
 

Limbo

Участник
Сообщения
184
Реакции
34
Ну если ты не можешь сделать по гайду, то тут с руками что-то не так.
Где проблемы то возникают?

Apply database configs​

Depending on the environment, setup will change based on the environment keyword. It's all taken care of as something the package.json. So, for example if you're running a production build, simply run the following commands:

yarn migrate-create-prod
yarn migrate-prod-upgrade
If you have created the database already (per instructions in the installation notes), you will only need to run the following command:

yarn migrate-prod-upgrade

1631737502153.png
 

impulssse

Участник
Сообщения
191
Реакции
86
Ребята кто может понятно сделать мануал по установки этих двух замечательных вещей

G5V G5V
G5API G5API
Не мучайся ты, скоро сделаем такую веб-панель от корней G5API бека.
Использование будет бесплатное, так и платное.
 

impulssse

Участник
Сообщения
191
Реакции
86
Скоро это так же как lr web делали)
Нет, тут сроки зависят больше от отрисовки макета нашего дизайнера. Некоторые вещи уже вступают в работу, если примерно то через месяц думаю уже будет готово)
 

rejchev

менеджер клоунов
Сообщения
1,669
Реакции
1,291

Apply database configs​

Depending on the environment, setup will change based on the environment keyword. It's all taken care of as something the package.json. So, for example if you're running a production build, simply run the following commands:

yarn migrate-create-prod
yarn migrate-prod-upgrade
If you have created the database already (per instructions in the installation notes), you will only need to run the following command:

yarn migrate-prod-upgrade

Посмотреть вложение 84337
Вы, хоть, настроили G5API/production.json.template at master · PhlexPlexico/G5API ?
 

Rolzzandik

Участник
Сообщения
492
Реакции
234

Apply database configs​

Depending on the environment, setup will change based on the environment keyword. It's all taken care of as something the package.json. So, for example if you're running a production build, simply run the following commands:

yarn migrate-create-prod
yarn migrate-prod-upgrade
If you have created the database already (per instructions in the installation notes), you will only need to run the following command:

yarn migrate-prod-upgrade

Посмотреть вложение 84337
А базу данных кто прописывать в конфиге будет?
Тебе нерусским текстом написано: ER_BAD_DB_ERROR: Unknown database "get5"
 
Сверху Снизу