Bus ride: Rīga - Liepāja or by train (on Friday evenings). Or by plane from Rīga airport.
Excursion: in Liepāja.
Accommodation: in Liepāja.