-
Notifications
You must be signed in to change notification settings - Fork 2
Changelog
Tobias Løfgren edited this page Feb 27, 2020
·
3 revisions
We removed control.sh. So sad. But not really. We did this because of two reasons:
- We had a hard to replicating its exact behaviour. This is mainly because it uses some concepts that works well it bash, like running a program and piping its output somewhere, which is harder to do in a C# program.
- We felt that most or all of the scripts features were easily replicated using the dotnet CLI.
$ git clone https://github.com/itu-devops/2020-spring
- Changed into the
session_1directory where theremote_codewas located.
$ cd itu-devops/2020-spring
- Copied the
remote_codedirectory outside the main repository folder
$ cp -r ./remote_code ../../../remote_code
- Changed into that new directory
- Created org and repo on github
- Initialized new git repository
$ git init
- Added all files to the git repositry
$ git add -A
- Created commit
$ git commit -m "First commit"
- Added github repo as remote
$ git remote add origin git@github.itu.dk:Devoops-2020/ITU-MiniTwit.git
- Pushed code to repository
$ git push -u origin master
- used 2to3 tool for minitwit.py to update to python3. Pullrequest
- Created a requirements file for the projects.
##Migrate to C# We chose to migrate to C# as it is one of the most used languages in the danish industry, and since the .NET library offers a lot of cool things for working with DevOps.
- Start project as ASP.NET Core Web Application Using MVC 5.
- Refactor Flask HTML files into Razor Views for MVC.
- Switched from SQLite to EntityFrameworkCore (we did this early since it was honestly easier than trying to remake the original code then edit it later).