Hi Alan,

If you run in development mode you don’t need to restart for most changes - 
they will hot reload.

To do this, download the source and then from the archivesspace directory run 
the components separately like this:
        build/run backend:devserver
        build/run indexer
        build/run frontend:devserver
        build/run public:devserver

You’ll need to put your config.rb in common/config/, and the mysql connector in 
common/lib/, and your plugins in plugins/.

Hope that helps.


Cheers,
James



> On Dec 17, 2019, at 4:53 PM, Alan Manifold <[email protected]> wrote:
> 
> Hi all,
> I am new to Ruby, and have been adding some functionality to our PUI through 
> a local plugin. I’m finding the testing a bit slow.
>  
> Whenever I make a change to the code or configuration files, I have to 
> restart the application before I see them in effect. This generally takes 4-5 
> minutes on our server. That’s not terrible, but I wondered if there’s a way 
> to speed up the process. Is there any way to avoid restarting the application 
> each time I make a change, such as just recompiling a single file or 
> something like that? It would save me a lot of time in my testing.
>  
> Thanks for any tips you can share.
>  
> Regards,
> Alan
> 
> Alan Manifold | Library Systems & Digital Preservation Manager | Collection 
> Development & Description 
> State Library Victoria | 328 Swanston Street | Melbourne VIC 3000 
> T +61 3 8664 7122 | [email protected] 
> <mailto:[email protected]> 
> slv.vic.gov.au <http://slv.vic.gov.au/>
> 
>  <https://www.slv.vic.gov.au/email_campaign>  
> 
>  
> <http://www.facebook.com/pages/Melbourne-Australia/State-Library-of-Victoria/32256104331>
>      <http://twitter.com/Library_Vic>        
> <http://www.youtube.com/user/statelibraryvictoria>      
> <http://instagram.com/library_vic>                     
> This message and any attachment is intended only for the use of the Addressee 
> and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are 
> not the intended recipient, you are hereby notified that any dissemination of 
> this communication is strictly prohibited. If you have received this 
> communication in error, please delete all copies of the message and its 
> attachments and notify the sender immediately. Thank you. 
> !DSPAM:5df95437243835172830492! 
> _______________________________________________
> Archivesspace_Users_Group mailing list
> [email protected] 
> <mailto:[email protected]>
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group 
> <http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group>
> 
> 
> !DSPAM:5df95437243835172830492!

_______________________________________________
Archivesspace_Users_Group mailing list
[email protected]
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group

Reply via email to