Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Coronium Core - Version 2.1.0
Started by Develephant Nov 11 2017 05:59 PM

12 replies to this topic
users files metrics mysql mongo email cloud lua api database
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

Develephant

[GLOBAL: userInfoPane.html]
Develephant
  • Corona Geek

  • 1,439 posts
  • Corona SDK

Coronium Core 2.1.0 is now available for installation.

 

Please click here for important information about Coronium Core 2.1.1

 

What's new:

 

  • Browser based admin for informational data in regards to app usage, users, device metrics, and more.
  • Browser based code editor for building server-side project APIs.
  • Client-side Users module for user registration, login tracking, and optional customizable email confirmations.
  • Client-side Analytics module to collect usage statistics and device metrics.
  • Server-side Email module for sending email via Mailgun.
  • Server-side Template module for resuable customized output.
  • CORS support for the Pages module.
  • MySQL EZ Query method selectOne added for simple single record retrieval.
  • MySQL EZ Query method insertMany added for optimized multi-record insertion.
  • Various date and time utility methods for the MySQL module.
  • Ability to adjust Corona network client-side timeout for large workloads.
  • Ability to adjust MySQL server-side timeout for large workloads.
  • Detailed documentation and eight new screencasts covering the new features.

 

Installationhttps://develephant.github.io/coronium-core-docs/server/installation/digitalocean/

v2.0.3 Upgradehttps://develephant.github.io/coronium-core-docs/server/guide/updates/#203-to-210

Documentationhttps://develephant.github.io/coronium-core-docs/

Screencastshttps://develephant.github.io/coronium-core-docs/screencasts/

Pluginhttps://marketplace.coronalabs.com/plugin/coronium-core

 

To get a quick glimpse of the new Webmin check out this screencast: https://develephant.github.io/coronium-core-docs/screencasts/#api-code-editor

 

Before upgrading be sure to create a snapshot or backup of your current system.

 

Please post any issues or questions in this forum. Enjoy!

 

-dev



[TOPIC: post.html]
#2

anaqim

[GLOBAL: userInfoPane.html]
anaqim
  • Contributor

  • 548 posts
  • Corona SDK

fantastic work dev!  :D



[TOPIC: post.html]
#3

anaqim

[GLOBAL: userInfoPane.html]
anaqim
  • Contributor

  • 548 posts
  • Corona SDK

Hi dev,

 

Not sure what kinda magic you have done but remember my upload timeouts?

I updated to this version of core, choked my upload setting it to 0.1Mbit and pushed through my to date largest payload.

It took almost 2 min 43 sec and all went well, ie no errors.

Its a worst case scenario of course but good to know its rock solid.

Thanks!



[TOPIC: post.html]
#4

carlostg

[GLOBAL: userInfoPane.html]
carlostg
  • Observer

  • 15 posts
  • Corona SDK

Hi, I'm getting an error running the installation script: "wget https://s3.amazonaws.com/coronium-core/do/up.sh && sudo bash up.sh"

 

This is the error:

   ______                       _                    ______              

  / ____/___  _________  ____  (_)_  ______ ___     / ____/___  ________ 

 / /   / __ \/ ___/ __ \/ __ \/ / / / / __ `__ \   / /   / __ \/ ___/ _ \

/ /___/ /_/ / /  / /_/ / / / / / /_/ / / / / / /  / /___/ /_/ / /  /  __/

\____/\____/_/   \____/_/ /_/_/\__,_/_/ /_/ /_/   \____/\____/_/   \___/ 

                                                                         

 

 

=> An installation error occurred. Please visit support at https://goo.gl/XZGoLw.



[TOPIC: post.html]
#5

carlostg

[GLOBAL: userInfoPane.html]
carlostg
  • Observer

  • 15 posts
  • Corona SDK

Never mind.  I recreated the droplet with 1GB instead of 512MB and the installation ran successfully.



[TOPIC: post.html]
#6

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,125 posts
  • Corona Staff

Fantastic!

 

Rob



[TOPIC: post.html]
#7

graham07

[GLOBAL: userInfoPane.html]
graham07
  • Contributor

  • 256 posts
  • Corona SDK

Awesome stuff... Installed and running after some DNS fun and games!

 

I do have a couple of quick 'simple' questions. I'm not a server/droplet expert, I literally followed your instruction :)

 

1) Based on the information I've seen, it is expected that you would use one Coronium install for each app? 
I had hoped to utilise one installation for some 'simple' apps, eg: Yard sale finder and another for Knitting clubs. I had hoped to use the same installation since they wouldn't be widely used. I get that I 'could', except the user registration would find the same user for the other app and confuse them. I can't have a User account with an associated app since it would fail on a duplicate user. 
I do realize I can create my own database and write it all separately, but that defeats the purpose :)

 

2) If I wanted 3 apps(installations),then based on current pricing I'd need 3 droplets @ $10 each. Correct? 

 

 

Great setup, can't wait to see what may arise in the future!



[TOPIC: post.html]
#8

anaqim

[GLOBAL: userInfoPane.html]
anaqim
  • Contributor

  • 548 posts
  • Corona SDK

Hi, one droplet is a virtual server in the cloud. You can use it for as many apps you want unti its overloaded, at which point you can upscale it.

In coronium you register projects, each is typically one app.

You can have a single user table for all apps and/or a single one for each app. There is no limit. It is all up to you.

And while much can be done using the client side api, dont ignore the server side api. It is very easy and similar to client side scripting.

Use the manual dev wrote as your main guide and somtimes look up info on the net if you need, i did regarding mySQL.

Dont know about mongo since i havent tried it yet but from what i understand, it one of the more, if not most, powerful noSQLs out there.

[TOPIC: post.html]
#9

graham07

[GLOBAL: userInfoPane.html]
graham07
  • Contributor

  • 256 posts
  • Corona SDK

You can have a single user table for all apps and/or a single one for each app. There is no limit. It is all up to you.

And while much can be done using the client side api, dont ignore the server side api. It is very easy and similar to client side scripting.
 

 

Thanks for the response. The user table is the part that I couldn't see working with multiple apps giving individual logins.

 

After following Devs user screencast, you create a user with an ID and PW.  Eg:  Fred@Flintstone.com

Fred runs the knitting app, logs in and is fine.

 

3 months later, Fred gets a new app he saw for yard sales. If he tries to sign up he's likely going to be confused since he will try and register as fred@flintstone.com and he's going to get an error that he exists.

 

I did see 'projects', and I did experiment successfully with server side email. However I don't see how users and projects inter-relate since there is no connection between the two. I did see that projects and server side API's go hand in hand. More project stuff I have to look at.

 

I do understand that I can create/use as many databases as I want, either by name of by database design, I just wanted to use the User part as it's nicely done and easy to manage  :)

 

Thanks again for the response, just looking for clarity.



[TOPIC: post.html]
#10

anaqim

[GLOBAL: userInfoPane.html]
anaqim
  • Contributor

  • 548 posts
  • Corona SDK

I could have read your post better before responding, sorry about that, was on a mobile phone in a parking lot, and while writing I could not read the post  :)

 

I started with coronium before dev implemented the user API, so I have a user table per app in the SQL, it works for my purpose but I can see what you mean about wanting to use the user API.

 

Perhaps it would be possible for dev at some point to add a project colum to the user API.

Then we could differenciate.



[TOPIC: post.html]
#11

Develephant

[GLOBAL: userInfoPane.html]
Develephant
  • Corona Geek

  • 1,439 posts
  • Corona SDK

Hi,

 

@graham07 I do have a solution in place for "scoping" users, it's already integrated into the database, but I need to finalize some code in the webmin and webmin api. It will be in the 2.1.1 update which should be done by end of week if not sooner.

 

@anaqim Thanks for jumping in to help. Much appreciated.

 

-dev



[TOPIC: post.html]
#12

enneaplay

[GLOBAL: userInfoPane.html]
enneaplay
  • Observer

  • 25 posts
  • Corona SDK

Great job Chris!!!



[TOPIC: post.html]
#13

Develephant

[GLOBAL: userInfoPane.html]
Develephant
  • Corona Geek

  • 1,439 posts
  • Corona SDK

Hi,

 

Thanks for the great feedback.  :)

 

Please see this post for important information regarding the 2.1.1 release/update: https://forums.coronalabs.com/topic/70971-coronium-core-version-211-critical-update/

 

-dev




[topic_controls]
[/topic_controls]