Skip to content

BaratiLab/AMUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AMUI

Additive Manufacturing User Interface (AMUI)

Quickstart

  1. Clone the repository with your prefered method.
    git clone [email protected]:BaratiLab/AMUI.git
  2. Follow the instructions for downloading and installing Docker Desktop
    • Make sure the docker compose works here, you'll need it for this project.
    • Creating an account is optional here.
  3. Open AMUI project in VSCode
  4. Duplicate .env.example file and rename to .env.
    • Fill in the following empty fields (ask @ppak10 if you need help).
  5. Open terminal and (under AMUI directory) start containers.
    docker-compose up -d
  6. Follow further instructions for either api or web

Contributing

Perform these commands inside a terminal not attached to Docker container.

  1. Create new branch on GitHub for your feature off of the main branch.
    • Provide the new branch with a descriptive feature title like: README-troubleshooting-updates.

2. Pull newly created branch locally. ```bash git pull ``` - You see that new branch now
  ![image/new_branch_pull.png](./images/new_branch_pull.png)
  1. Change to this local branch.

    git checkout <REPLACE-WITH-BRANCH-NAME> 
  2. Make your changes and stage them for commit.

    git add .
    • This will add all changes.

    • Make sure to follow additional instructions for api or web

    • git status will show your staged changes in green.

      image/git_add_git_status

  3. Commit your changes with a descriptive commit message.

    git commit -m "Your 80 character maximum commit message goes here"

    image/git_commit

  4. Push your changes to GitHub.

    git push

    image/git_push

  5. Go back to repository on GitHub and create a Pull Request

    • You should see a banner notification about your latest change.

    • Click on the "Compare & pull request" button to create a Pull Request

      image/banner

    • Add @ppak10 as reviewer and fill in other the necessary details.

      image/make_pull_request

  6. Delete feature branch once pull request is merged image/delete_branch

  7. Pull and Checkout main branch locally

    git pull
    git checkout main

Notes

Troubleshooting