Coronium Core - Version 2.1.0

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

fantastic work dev!  :smiley:

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!

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.

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

Fantastic!

Rob

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 :slight_smile:

  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 :slight_smile:

  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!

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.

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  :slight_smile:

Thanks again for the response, just looking for clarity.

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  :slight_smile:

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.

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

Great job Chris!!!

Hi,

Thanks for the great feedback.  :slight_smile:

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

fantastic work dev!  :smiley:

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!

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.

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

Fantastic!

Rob

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 :slight_smile:

  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 :slight_smile:

  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!

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.