Bottom-up assembly of viral replication cycles