SciML / DiffEqOnline

It's Angular2 business in the front, and a Julia party in the back! It's scientific machine learning (SciML) for the web
http://app.juliadiffeq.org
Other
27 stars 6 forks source link

Rename and Migrate #5

Closed ChrisRackauckas closed 7 years ago

ChrisRackauckas commented 7 years ago

This project is growing far beyond "demo" and into a really cool app. I think we should rename the repo and migrate it over to JuliaDiffEq. What's a good name?

amellnik commented 7 years ago

Agreed -- maybe DiffEqWebTool, DiffEqOnline or similar. I noticed that the JuliaDiffEq organization web site is hosted through github at the moment, but maybe it would be a good time to snag a domain that we could use for this tool, if nothing else.

ChrisRackauckas commented 7 years ago

I set things up with juliadiffeq.org (well, the main site might take a little bit longer to fix itself, but the docs are already up). Can I get admin privileges to move the repo to JuliaDiffEq and setup the CNAME? I am thinking of pointing it to app.juliadiffeq.org , and then we just need a name. DiffEqOnline sounds good.

ChrisRackauckas commented 7 years ago

Completed. Though the gh-pages no longer loads: http vs https related?

amellnik commented 7 years ago

The link format is different for projects owned by an organization I think

(Please excuse brevity and errors, sent from a mobile device.)

On Jan 6, 2017 12:25 PM, "Christopher Rackauckas" notifications@github.com wrote:

Completed. Though the gh-pages no longer loads: http vs https related?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/JuliaDiffEq/DiffEqOnline/issues/5#issuecomment-270997267, or mute the thread https://github.com/notifications/unsubscribe-auth/AGzU_hWxRRpaUQu4QmAxuf3It7FyHxN6ks5rPqMqgaJpZM4LYcQR .

ChrisRackauckas commented 7 years ago

The server has more than enough power to host this (it's what I am using for my blog which gets quite a bit of traffic). If it needs to move off of Github that's fine: we would just need some way of "linking the code". I've never done a website whose code comes from a Github repo before (and had it be a non gh-pages site) so I am not sure how to set that up. Cron job which pulls from the repo?

amellnik commented 7 years ago

Angular-cli has a built-in command which builds the site in production mode in the /dist folder. This line lets you run npm run prodbuild to do that while also rewriting the links. The version that's there now might work but just needs a different base href, so you might just be able to modify that one line.. Depending on how your hosting is setup, you can then ftp that folder over by hand (or we can write this into a gulp task or similar to make it easier to deploy).

Who is the hosting through and what's it running on? We might need to use a custom .htaccess or modify a setting or two to get the routing to work. (On github pages the workaround was to make a copy of index.html and name it 404.html)

ChrisRackauckas commented 7 years ago

It's running on a Bluehost cloud plan:

http://cloud.bluehost.com/products/cloud-sites

The performance plan. I can upgrade the plan to have a dedicated IP if needed.

amellnik commented 7 years ago

Looks good, their site says you can use .htaccess overwrites so we probably just need to add one to the project in the same folder as index.html. I think the first solution here is probably correct but haven't tested it yet.

ChrisRackauckas commented 7 years ago

I can get you FTP access to that domain if needed. There's nothing there though since everything is gh-pages, so I am not sure what you're supposed to due (since there is no index.html for that folder, and it would be in the app subdomain).

amellnik commented 7 years ago

If you send me the FTP information I can set up a deploy script for the front end.