Public Web Editor

Topics related to tools created by the Core Team or 3rd-party community members.

Moderator: Team Members

tyrbo
Team Member
Posts: 271
Joined: Thu Feb 18, 2016 12:33 pm

Re: Public Web Editor

Post by tyrbo » Tue Apr 16, 2019 8:40 am

John Adams wrote: Mon Apr 15, 2019 5:55 pm My career is automation/CI :) It is the one thing I still obsess over.
My career is the dev side, but I've always enjoyed setting my personal servers up myself, so pretty at home with Linux, nginx, whatever.
<3 the whole process of everything so I've been tinkering with various things for years.

Been using docker for years, so started using kubernetes recently. My newer sorta eq2 orchestration component uses k8s to launch zone servers as needed, but I never used it for the actual Stitch server yet. Maybe kinda sorta overkill, but hey, I was already using it so it was pretty easy to tap into the API from whatever language.

User avatar
Gangrenous
Posts: 812
Joined: Sun Apr 24, 2016 6:54 am
Characters: Dinsmoor

Re: Public Web Editor

Post by Gangrenous » Tue Apr 16, 2019 8:50 am

You will need to install node package manager, php, apache, composer, etc? You have a setup that you can do that?
Resident Dirty Hippy

User avatar
Gangrenous
Posts: 812
Joined: Sun Apr 24, 2016 6:54 am
Characters: Dinsmoor

Re: Public Web Editor

Post by Gangrenous » Tue Apr 16, 2019 8:50 am

neatz09 wrote: Tue Apr 16, 2019 7:02 am Id like to give it a try :)
You will need to install node package manager, php, apache, composer, etc? You have a setup that you can do that?
Resident Dirty Hippy

User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

Re: Public Web Editor

Post by Ememjr » Tue Apr 16, 2019 10:28 am

i want to try it as well i can install anything lol lots of space and cpu cores

User avatar
Gangrenous
Posts: 812
Joined: Sun Apr 24, 2016 6:54 am
Characters: Dinsmoor

Re: Public Web Editor

Post by Gangrenous » Tue Apr 16, 2019 11:01 am

I will get a commit going tonight and post a link here. Keep in mind, this is tuned for my database structure and there will be bugs, post them and I will get them fixed ASAP.
Resident Dirty Hippy

User avatar
Gangrenous
Posts: 812
Joined: Sun Apr 24, 2016 6:54 am
Characters: Dinsmoor

Re: Public Web Editor

Post by Gangrenous » Tue Apr 16, 2019 11:05 am

Until this is released, I will just zip it up. Long term though, I will have a public GIT.
You do not have the required permissions to view the files attached to this post.
Resident Dirty Hippy

User avatar
Gangrenous
Posts: 812
Joined: Sun Apr 24, 2016 6:54 am
Characters: Dinsmoor

Re: Public Web Editor

Post by Gangrenous » Tue Apr 16, 2019 11:07 am

You will need a .env file, create one in root. During release I will have a .env.sample.

Code: Select all

APP_NAME=Eq2Editor
APP_ENV=local
APP_KEY=base64:tB8g5qu5nY9kuqxY0pbGE+6eMZ0s01uvDKWtEKhBPzU=
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://localhost

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=eq2world
DB_USERNAME=eq2emu
DB_PASSWORD=

BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
SESSION_LIFETIME=120
QUEUE_DRIVER=sync

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1

Resident Dirty Hippy

User avatar
Gangrenous
Posts: 812
Joined: Sun Apr 24, 2016 6:54 am
Characters: Dinsmoor

Re: Public Web Editor

Post by Gangrenous » Tue Apr 16, 2019 11:15 am

I have never done a Windows install of this stuff, so until I have time to try it and write up a wiki on it, you are own your own.

For me on Debian I install composer like this...

Code: Select all

curl -sS https://getcomposer.org/installer | php
I install node like this.

Code: Select all

curl -sL https://deb.nodesource.com/setup_6.x -o nodesource_setup.sh
I run composer

Code: Select all

composer install
I then run Mix

Code: Select all

npm install
You are also going to need mod rerewrite I think.

Code: Select all

a2enmod rewrite
Resident Dirty Hippy

User avatar
Gangrenous
Posts: 812
Joined: Sun Apr 24, 2016 6:54 am
Characters: Dinsmoor

Re: Public Web Editor

Post by Gangrenous » Tue Apr 16, 2019 11:27 am

Also, keep it behind a firewall for now. There is no authentication system yet. I am not worried about that though, Laravel already has the framework for password changes and authentication baked in.
Resident Dirty Hippy

tyrbo
Team Member
Posts: 271
Joined: Thu Feb 18, 2016 12:33 pm

Re: Public Web Editor

Post by tyrbo » Tue Apr 16, 2019 11:37 am

WSL is also an option on Windows, for that familiar Linux feel.

User avatar
Gangrenous
Posts: 812
Joined: Sun Apr 24, 2016 6:54 am
Characters: Dinsmoor

Re: Public Web Editor

Post by Gangrenous » Tue Apr 16, 2019 11:57 am

Just keep in mind, this was written in about 2-3 weeks total and a lot was done, expect bugs. The bugs will get worked out, it just takes time. Patience is a virtue grasshoppa...
Resident Dirty Hippy

neatz09
Content Lead
Posts: 136
Joined: Sun Dec 09, 2018 12:55 pm

Re: Public Web Editor

Post by neatz09 » Tue Apr 16, 2019 2:26 pm

Yeah i can do all that :) look forward to checking this out! It looks badass in the screenshots

User avatar
Gangrenous
Posts: 812
Joined: Sun Apr 24, 2016 6:54 am
Characters: Dinsmoor

Re: Public Web Editor

Post by Gangrenous » Wed Apr 17, 2019 5:50 am

As I was saying in a previous post that I will not know what needs to change until I start using it, well plenty of things need to change. I was storing some of the dropdowns and recently selected id's in the session. I obviously did not think this through. If you have multiple tabs or browsers open then that is a huge issue. I am one to have multiple browsers open. I am thinking of changing some of this to url parameters instead. There is no harm in that unless you are putting in sensitive data. Laravel already handles any type of injection issues in the framework. So I am going to switch gears and go back to the first page and make a bunch of changes. I am going to go ahead and add the authentication while I am at it. Go ahead and play with what is already there but expect major changes coming up.

I am also going to make searching large piles of data easier. On some things I already have filters to filter down the long downdowns, but not everywhere.
Resident Dirty Hippy

User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

Re: Public Web Editor

Post by Ememjr » Wed Apr 17, 2019 7:46 am

Started the install of my debian 9 server . wish me luck

User avatar
Gangrenous
Posts: 812
Joined: Sun Apr 24, 2016 6:54 am
Characters: Dinsmoor

Re: Public Web Editor

Post by Gangrenous » Wed Apr 17, 2019 10:15 am

I have the framework in for authentication. Anyone have any suggestions or does it look okay? I am guessing these logos are open for use? I see them all over the place. I need something pretty much round or square like this. I can remove it if someone can foresee an issue using it.
You do not have the required permissions to view the files attached to this post.
Resident Dirty Hippy

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest