Additive Manufacturing User Interface (AMUI)
- Clone the repository with your prefered method.
git clone [email protected]:BaratiLab/AMUI.git
- 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.
- Open
AMUI
project in VSCode - Duplicate
.env.example
file and rename to.env
.- Fill in the following empty fields (ask @ppak10 if you need help).
- Open terminal and (under
AMUI
directory) start containers.docker-compose up -d
- Follow further instructions for either
api
orweb
Perform these commands inside a terminal not attached to Docker container.
- 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
.
- Provide the new branch with a descriptive feature title like:
![image/new_branch_pull.png](./images/new_branch_pull.png)
-
Change to this local branch.
git checkout <REPLACE-WITH-BRANCH-NAME>
-
Make your changes and stage them for commit.
git add .
-
Commit your changes with a descriptive commit message.
git commit -m "Your 80 character maximum commit message goes here"
-
Push your changes to GitHub.
git push
-
Go back to repository on GitHub and create a Pull Request
-
Pull and Checkout
main
branch locallygit pull git checkout main
- PGAdmin
- Host name/address:
amui-sql
- Username:
postgres
- Password: check
POSTGRES_PASSWORD
in.env
- Host name/address:
- Docker
- Delete Docker Images:
docker rmi -f $(docker images -aq)
- Enter Docker Container:
docker exec -it [container-id] bash
- Delete Docker Volumes:
docker volume rm $(docker volume ls -qf dangling=true)
- Delete Docker Images: