Developer forum

Forum » Swift » Installing swift on an existing solution?

Installing swift on an existing solution?

Tina Engelsen Pedersen
Reply

Hi 

If you have an existing solution with a couple of running websites on it already, how do you go about installing swift on it? Of course you have to make sure to upgrade to the newest Dynamicweb version before adding swift to the solution, but what are the steps after that?

Are you able to add a new site to your solution that is running swift, and still run the existing websites like normal, without using the visual editor abd so on?


Replies

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Tina,

We have already made some of these conversions (or at least we have started them).

My approach was to create a separate website on the same solution.

I have copied all of the Swift's ItemTypes and dependencies (in most cases I just copied over most of the Files folder).

Then I have configured the Website settings.

Last part is to recreate all pages that are required for proper functionality. Everything under "Swift tools".

The old website and new website could run in parallel as the ItemTypes do not collide.

I hope this helps.

Adrian

 
Tina Engelsen Pedersen
Reply

Hi Adrian

It does :) 

Has the addition of swift on your older solution affected how you work on the old website? Are you still able to add, edit, drag'n'drop paragraphs, etc., as you used to on the old website, or does the visual editor affect the way you work on the old site?

 

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Tina,

Everything works as before the Swift addition. They don't interfere in any way.

Of course, the Design folder is separate. You have the Rapido one for the current projects and a Swift one for swift-based websites.

The Visual Editor is contextual to the page you are editing. It's just a way of rendering the content of the page in a visual manner. Everything happens in your browser and the data is saved in the corresponding GridRows and Paragraphs.

You can safely go ahead and start configuring Swift.

Adrian

 

You must be logged in to post in the forum