marinanekrassova / smartsafe

1 stars 0 forks source link

Set up development environment automatically #51

Open marinanekrassova opened 7 years ago

marinanekrassova commented 7 years ago

Either write a bash/batch script (preferred, since if you need to install the app, you need one anyway) or set it up on a virtual OSs:

The purpose is to eliminate manual effort for setting up development environment according to the instructions provided on the Getting started page. It may also help us to more easily fulfill the grading criterion Build process for the 2nd iteration.

This task is time-bounded (8h). If it turns out that there are some significant technical impediments, skip this task (close with resolution "won't do" and short comment).

The exact choice of VM vendor is up to the task assignee. The only requirement is that this software was available for free. Preferred OS is Ubuntu, but you are free to choose something different, if you know better alternative.

The resulting VM image with all the necessary software installed should be uploaded to the team SharePoint. Link to this image with the short comment has to be provided at the top of Getting started page.

Done: Instructions in wiki Able to run it in Linux and Windows

peterjasc commented 7 years ago

@marinan87 we could write a shell script for that

marinanekrassova commented 7 years ago

Yes, this is a good alternative. Please create a task.

peterjasc commented 7 years ago

@marinan87 why not just make this task more general and give 2 alternatives.

marinanekrassova commented 7 years ago

True 👍. Please edit the description as you like.

marinanekrassova commented 7 years ago

Just wanted to add that if we choose VM image approach, we can select between free VirtualBox or obtain a license for VMware Workstation via the VMware Academic Program. In the latter case, contact vmware at cs.ttu.ee to gain access.

LiisiMotsharg commented 7 years ago

I'd advise against using VirtualBox, because it has a bug with Chrome rendering engine when 3d acceleration is enabled. Since Electron is also based on Chrome engine, it is not a good fit for us.

Of course, 3d acceleration can be disabled, but it makes VM quite slow and laggy.

Also, VMware Workstation Player is free to use.

marinanekrassova commented 7 years ago

Good to know!