Home Forums Archive 2018 General Website – Gitbhub location

This topic contains 11 replies, has 5 voices, and was last updated by  Ricardo Cabral 8 months, 3 weeks ago.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #28598

    Michael Frank
    Participant

    Hey Guys,

    I believe you provided a website template on github in the last few years.
    Is this the same for this year?

    thanks
    Michael

    #28599

    Wesley Cabus
    Keymaster

    Hi Michael!

    We (that is, the GAB admin team) do not provide a template for hosting a website for a GAB location.

    I think you’re referring to the template that was created by Puneet Ghanshani: https://github.com/azurebootcamp/azurebootcamp-data
    The actual source behind that template is located here: https://github.com/punitganshani/azurebootcamp

    You’re welcome to fork that template, I’m guessing it would be not that difficult to update it for 2018. There’s also a chance that Puneet will provide a new template for this year.

    Cheers,

    Wesley

    #28691

    Ricardo Cabral
    Participant

    Hi, Wesley, so there is no problem using Azure Bootcamp 2017 Website Template and change the logos and text for GAB 2018.

    Thanks,
    Ricardo

    #28733

    Wesley Cabus
    Keymaster

    That’s correct. The previous template can be freely adapted for the 2018 edition.

    #28736

    Michael Frank
    Participant

    great, thanks guys

    #28771

    Ricardo Cabral
    Participant

    Hi,

    I made a fork from the template created by Puneet Ghanshani and update to GAB 2018 is available at https://github.com/rramoscabral/globalazurebootcamp .

    Demo : http://gabdemo.azurewebsites.net/

    The project was made in Visual Studio Code to run in any OS and was updated to .NET Core 2.0 SDK and it work in VS2017 (New project and copy paste the source code).

    Thanks,
    Ricardo Cabral

    #29097

    Sarah Lean
    Participant

    Hey!

    Trying to use the code you’ve put up Ricardo but failing miserable. There seems to be some steps missing in the deployment process or I’m not reading it right.

    Can you help please?

    Thanks,
    Sarah

    #29114

    Ricardo Cabral
    Participant

    Hi Sarah,

    The simplest way is to create a new Visual C # Web .Net Core 2.0 project in Visual Studio 2017 (not Visual Studio Code).

    Copy the source-code in the root project folder.

    Then modify , change ….

    To upload to Azure, you can use the publish option in the project, to publish in Azure App Service (https://docs.microsoft.com/en-us/aspnet/core/tutorials/publish-to-azure-webapp-using-vs).
    to publish in Azure App Service

    Let me know if you need more help.

    Thanks,
    Ricardo

    #29164

    Sarah Lean
    Participant

    Thanks, I got it. Just needed to be fueled a bit more with coffee for the brain to work! 🙂

    #29639

    Diego Matos
    Participant

    Hi! my map is not working!

    #29640

    Ricardo Cabral
    Participant

    Hi Diego,

    In the file ‘/source-code/bootcamp/Views/Shared/_Map.cshtml’ you need to replace the Google Maps API key (AIzaSyCO6AXw4-I0uuUxAKBKMtoB0eUmKfobjH0) with your API KEY.

    If you do not have any Google Maps API KEY, you can register at https://developers.google.com/maps/documentation/embed/get-api-key

    I advise blocking the API KEY for the domain you are going to use.

    #29649

    Ricardo Cabral
    Participant

    Hi Diego,

    [UPDATED] Google Map Key :
    I’ve changed the file /Views/Shared/_Layout.cshtml and /Views/Shared/_Map.cshtml. Now is forcing the map directly instead of reading the information from the json file. You need to set the API KEY and coordinates in /Views/Shared/_Layout.cshtml. The coordinates can be obtained at http://www.mapcoordinates.net/

    [Before] ‘/source-code/bootcamp/Views/Shared/_Map.cshtml’ If you do not have any Google Maps API, you need to register and replace the key in the source code (AIzaSyCO6AXw4-I0uuUxAKBKMtoB0eUmKfobjH0) with the new Key API created.

    Let me know if you need more help.

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.