Anyone Knows How to deploy Laravel Nuxt App?

|
cayetanohosma 2020-05-06 22:17:42
I know that it is possible to have more issues using this kind of field due to it requieres more complex treatment
Siberfx 2020-05-06 22:18:58
many issues/conflicts you can have in future
cayetanohosma 2020-05-06 22:19:14
Do you have any experience using uuid?
Siberfx 2020-05-06 22:19:19
sometimes its not going to be a problem, but conflicts when it getting more complex
Siberfx 2020-05-06 22:19:30
ofc πŸ™‚
cayetanohosma 2020-05-06 22:19:33
Yeah! I know
cayetanohosma 2020-05-06 22:20:14
By the way, I have some quick question. How can I specify the connection for a package migrations? Could I use an package-local .env file?
Siberfx 2020-05-06 22:23:05
cayetanohosma 2020-05-06 22:20:14
By the way, I have some quick question. How can I specify the connection for a package migrations? Could I use an package-local .env file?

what do you mean by ?

Siberfx 2020-05-06 22:23:13
be more specified πŸ™‚
cayetanohosma 2020-05-06 22:24:11
Never mind! I need to use the global connection settigs.
DesolatorMagno 2020-05-06 22:24:34
cayetanohosma 2020-05-06 22:20:14
By the way, I have some quick question. How can I specify the connection for a package migrations? Could I use an package-local .env file?

For configuration you should have a config file that have a default value and can be set in the general .env

cayetanohosma 2020-05-06 22:26:07
Yes @DesolatorMagno but how can I specify a .env file for a package?
Siberfx 2020-05-06 22:27:00
you dont need to do that.
Siberfx 2020-05-06 22:27:13
just merge your config file
Siberfx 2020-05-06 22:27:21
with your variables in it
Siberfx 2020-05-06 22:27:50
if the one who uses that package, wants that fields as in .env file, its optional :))
cayetanohosma 2020-05-06 22:27:57
My config file must be in my src/Config folder, right?
Siberfx 2020-05-06 22:28:16
yes but its not a fact
Siberfx 2020-05-06 22:28:30
you will show its location and where to copy it in your provider
cayetanohosma 2020-05-06 22:28:56
OK. Clear!
cayetanohosma 2020-05-06 22:29:00
thanksç
Siberfx 2020-05-06 22:29:36
and where are you from btw ? )
cayetanohosma 2020-05-06 22:29:46
I was working with Laravel 4, but I need to jump to Symfony and I already forgot too many things… πŸ™
cayetanohosma 2020-05-06 22:30:01
I’m from Canary Islands, and you?
Siberfx 2020-05-06 22:30:15
I am a Turkish but living in Belarus
Siberfx 2020-05-06 22:30:17
:))
cayetanohosma 2020-05-06 22:31:09
Nice!
tusharmangle 2020-05-06 22:31:15
Anyone Knows How to deploy Laravel Nuxt App ?
cayetanohosma 2020-05-06 22:31:20
Too cold, isn’t it?
Siberfx 2020-05-06 22:31:57
nah, like 5 years ago was the latest, coldest year
cayetanohosma 2020-05-06 22:32:08
tusharmangle 2020-05-06 22:31:15
Anyone Knows How to deploy Laravel Nuxt App ?

I think that it depends where you need to deploy it

cayetanohosma 2020-05-06 22:32:17
For example in Digital Ocean this is the procedure
cayetanohosma 2020-05-06 22:32:24
https://www.digitalocean.com/community/questions/how-can-i-deploy-laravel-server-api-and-nuxt-client

How can I deploy Laravel (server api) and Nuxt (client) | DigitalOceanDigitalOcean
Sorry my English. I have a project on a local computer and I want to public on VPS this project, but i don’t know how to do this. Laravel – api, nuxt – client. Maybe, Do you have any information on how I can do this
tusharmangle 2020-05-06 22:32:24
I want to deploy on digital ocean
cayetanohosma 2020-05-06 22:32:51
And this could be useful from StackOverflow
https://stackoverflow.com/questions/59646672/deploying-laravel-and-nuxt-js-application-combine-them-or-deploy-separately

Deploying Laravel and Nuxt.js application. Combine them, or deploy separately?Stack Overflow
I have been developing a website that uses Laravel (v6) on the backend, and Nuxt.js (v2) on the frontend. The idea was for laravel to act as an api & oauth2 server, that also server side render…
cayetanohosma 2020-05-06 22:37:42
You’re welcome
cayetanohosma 2020-05-06 22:38:00
@Siberfx any clue about the last error?
cayetanohosma 2020-05-06 22:42:27
I found the error, I forgot to add primary() to the uuid fields, that is the ‘id’ fields
2020-05-06 22:42:46
Looking for full-time android/react native developers. Please send your resume to hr@syncsitetec.com.
cayetanohosma 2020-05-06 22:44:01
2020-05-06 22:42:46
Looking for full-time android/react native developers. Please send your resume to hr@syncsitetec.com.

Could we talk in order to get more details about job position?

2020-05-06 22:46:05
Sure
justJP 2020-05-06 23:08:10
cayetanohosma 2020-05-06 22:13:00
@Siberfx What about this error:
Invalid foreign key: 7 ERROR: there is no unique constraint matching given keys for referenced table “user_actions” (SQL: alter table “group_policies” add constraint “fk_action_id” foreign key (“action_id”) references “user_actions” (“id”))

the user_actions migration is:
class UserActions extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create(‘user_actions’, function (Blueprint $table) {
$table->uuid(‘id’);
$table->string(‘name’, 100);
$table->string(‘description’, 200);
$table->timestamps();
$table->softDeletes();
});
}

/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists(‘user_actions’);
}
}
and the group_policies migration file is, the following, where the error appears:
class GroupPolicies extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create(‘group_policies’, function (Blueprint $table) {
$table->uuid(‘id’);
$table->uuid(‘group_id’);
$table->uuid(‘resource_id’);
$table->uuid(‘action_id’);
$table->timestamps();
$table->softDeletes();

$table->foreign(‘group_id’, ‘fk_group_id’)
->references(‘id’)
->on(‘groups’);

$table->foreign(‘action_id’, ‘fk_action_id’)
->references(‘id’)
->on(‘user_actions’);

$table->index(
[‘group_id’, ‘resource_id’,’action_id’],
‘group_resource_action_idx’
);
});
}

/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table(‘group_policies’, function (Blueprint $table) {
$table->dropForeign(‘group_id’);
$table->dropForeign(‘action_id’);
});

Schema::dropIfExists(‘group_policies’);
}
}

This one solved?

PhpMvcLaravel1 2020-05-06 23:09:47
I am sending you 1Ο€! Pi is a new digital currency developed by Stanford PhDs, with over 3.5 million members worldwide. To claim your Pi, follow this link https://minepi.com/oraman and use my username (oraman) as your invitation code.

Pi NetworkMinepi
Pi is a new digital currency being developed by a group of Stanford PhDs. For a limited time, you can join the beta to earn Pi and help grow the network.
MustafaDrao 2020-05-06 23:13:29
Can Anyone help me
MustafaDrao 2020-05-06 23:14:05
I need Tips for sending files to one email
Siberfx 2020-05-06 23:30:59
MustafaDrao 2020-05-06 23:14:05
I need Tips for sending files to one email

Single/multiple ?

MustafaDrao 2020-05-06 23:31:55
Siberfx 2020-05-06 23:30:59
Single/multiple ?

To just Two email

Siberfx 2020-05-06 23:32:13
i mean the files
MustafaDrao 2020-05-06 23:33:14
I want giving link to some of people and they upload files then click submit to send to emails
Siberfx 2020-05-06 23:34:19
You can do it with mailer of laravel
|