Giter VIP home page Giter VIP logo

markeddown.teamproject's Introduction

SillyStringz splash page screenshot

Marked Down

An e-commerce website...

By Chloe Loveall, Louie Schoenknecht & Scott O'Neil


license   top project language   last github commit   github pull requests   open issues   github contributors

Table of Contents

  1. Table of Contents
  2. Description
  3. Preview
  4. Technologies Used
  5. Setup and Installation Requirements
  6. User Stories
  7. Specifications
  8. Known Bugs
  9. Issues
  10. Roadmap
  11. Design
  12. Contributing
  13. License
  14. Acknowledgements
  15. Contact Information

Description

An Epicodus project to create an MVC web application to help a fictional factory owner manage the company's engineers and machines. The manager can add to a list of engineers working for the factory, a list of machines at the factory, and link engineers and machines if desired.

Preview

Live preview with Heroku

Technologies Used

  • ASP.NET 5.0.1
  • C#
  • Entity Framework 5.0.0
  • MySQL 8.0.15
  • MySQL Workbench 8.0.15
  • Razor

Setup and Installation Requirements

Prior to Installation

Confirm you have Git installed

  • Installing Git on Macs:

    • Install the package manager Homebrew by copying and pasting the following in the terminal: $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    • Copy and paste once of the following lines in the terminal so that Homebrew packages are run before the system versions of the same packages:
      • For bash users: $ echo 'export PATH=/usr/local/bin:$PATH' >> ~/.bash_profile
      • For zsh users: $ echo 'export PATH=/usr/local/bin:$PATH' >> ~/.zshrc
    • Last, install Git with the following terminal command: $ brew install git
  • Installing Git on Windows:

    • Open Command Prompt, the Windows terminal program. You can access it by typing Cmd in the search bar in the bottom left corner.
    • NOTE There are many options available, but we recommend using a free program called Git Bash
    • Navigate to Git Bash and click on the Download button. This will take you to a page with the latest version of Git Bash. Determine whether you have 32-bit or 64-bit Windows by following these instructions. Then download the corresponding exe file from the Git for Windows site. (If you have a package manager already installed, you can also choose to download the tar.bz2 version.)
    • Click on the downloaded file and then follow the instructions in the Setup menu until you reach the Install button and install the package.

Confirm you have .NET installed

Installing .NET will provide provide access to the C# language

  • .NET for macOS
  • .NET for Windows
  • Additionally, you may want to install a REPL to allow you to practice, test, and experiment with C#. Below are instructions for the dotnet script REPL:
    • Install dotnet script by running the following terminal command: $ dotnet tool install -g dotnet-script
    • NOTE: If you just installed .NET 5, restart the terminal. (Otherwise, you will not be able to run the following command.)
      • Enter $ dotnet script in your terminal and a prompt will open: >
      • To exit the REPL press: Ctrl +C

Installation

  • Clone the repository with the following git terminal command: $ git clone https://github.com/chloeloveall/Factory.Solution.git
  • Open the project directory in your terminal
  • Navigate to the Factory directory (the production directory)
    • To create an obj directory and install dependencies, run the terminal command: $ dotnet restore
    • NOTE: Do not touch the code in the obj directory.

Database Setup

MySQL Password Protection

  • Create a the following file: appsettings.json

  • Add the following code:

    Setup of appsettings.json Screenshot

  • NOTE: [YOUR_DATABASE] must match the database name you chose to import above

  • NOTE: [YOUR_PASSWORD] must match your local MySQL server password

  • NOTE: The appsettings.json file is included in the .gitignore file

    • You can read more about best practices for storing private information with ASP.NET Core here

Entity Framework Core Database Import

  • Confirm you have MySQL installed
  • Confirm you have MySQL Workbench installed
  • From the production directory (Factory.Solution/Factory), run the following terminal command: dotnet ef migrations add Initial
  • Then, also from the production directory, run this command: dotnet ef database update
  • Open MySQL Workbench and verify that there is a new database with the database name you specified in the appsettings.json file

MySQL Workbench Database Import

  • Open MySQL Workbench and select Local Instance 3306
  • In the Administration tab, select Data Import/Restore

Data Import/Restore Screenshot

  • Select Import from Self-Contained File
  • Select the file chloe_loveall.sql from the Factory.Solutions root directory
  • Select New from the Default Schema to be Imported To section

Default Schema Screenshot

  • Choose a name for the database and select Ok
  • Select Start Import

Launching the program

  • You are now ready to run the program! To launch the program, navigate to the production directory (Factory.Solution/Factory) and run the following terminal command: dotnet run
    • NOTE: You can alternately use dotnet watch run if you would like to make and view changes without needing to relaunch dotnet run
  • In the browser of your choice, navigate to: http://localhost:5000/

User Stories

Specifications

Behavior Input Output

Known Bugs

  • None at this time

Issues

  • Report issues here and select the New issue button for support and

Roadmap

Design

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the project on GirHub
  2. Create your Feature Branch: $ git checkout -b YourFeatureBranchName
  3. Commit your Changes $ git commit -m 'Add some Amazing Feature'
  4. Push to your feature branch on Github $ git push origin YourFeatureBranchName
  5. Open a Pull Request

License

MIT

Acknowledgements

Contact Information

Chloe Loveall [email protected] Louie Schoenknecht [email protected] Scott O'Neil [email protected]

github followers   github forks   github stars

Back to Top

markeddown.teamproject's People

Contributors

chloeloveall avatar spnoneil avatar louiesch avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.