Closed iokiwi closed 1 year ago
hello @iokiwi I would like the contribute the the project can you please assign this issue to me
Feel free to @ me if you have any issues getting setup. It should hopefully be as simple as doing a docker-compose up
as per the readme.
hey @iokiwi I am getting these logs in docker
I will need some more info. I have tested this for macOS and WSL/Ubuntu and it should 'just work'.
Can you tell me more about your development environment? I can see you are using docker desktop so I you are on either windows or mac.
You might try deleting your image and trying again.
This command will delete the image
docker rmi -f $(docker image ls | grep moneyapp-app | awk '{ print $3 }')
Then you can try rebuild it by running this command from the root of the repository.
docker-compose build app
If you still have the error I need to see the output of the above command
Hello @iokiwi
It looks to me like you are using 'Git Bash'. I can't see your task bar or title bar but the purple 'MINGw64' gives it away for me. I imagine you can see the following icon in your taskbar and title bar?
Can you confirm?
By comparison, WSL should look something like this
Can you also please show me the output of these commands run from the root of the repository. These are to check that the entrypoint file and the app directory exist in the image.
docker-compose run --entrypoint="/bin/ls" app /
docker-compose run --entrypoint="/bin/ls" app
Make sure you are actually using WSL. It appears to me that you are not using WSL which is most likely the cause for your problems.
This article from Microsoft explains how to get WSL if you don't have it https://learn.microsoft.com/en-us/windows/wsl/install
If you have WSL then you can list available distributions and start one from powershell
In powershell, try just running
PS C:\Users\smerrick> wsl
This will launch the default WSL distribution - whatever that is for you.
You can list available WSL distributions and see what the default is with this command
PS C:\Users\smerrick> wsl --list
Windows Subsystem for Linux Distributions:
Ubuntu-22.04 (Default)
docker-desktop-data
docker-desktop
You can install a WSL distribution with a command like this.
PS C:\Users\smerrick> wsl --install Ubuntu-22.04
You can launch a specific distribution bu name with the -d flag
PS C:\Users\smerrick> wsl -d Ubuntu-22.04
Hello @iokiwi I have successfully build the project on my machine I am seeing that add new button is already implemented
congratulations on getting up and running. you had some challenges but we got there!
Sorry the button must have snuck in with another pull request in the meantime! Lets find some more things you can work on!
if you did still want to make a contribution relating to the button, I would love to see the button horizontally centered on the page underneath the text.
hello @iokiwi I have centered a button
Amazing! Great work it looks fantastic :)
Now you will want to raise a pull request to merge your branch on your fork into the main branch in my repository
If you go to the recurring expenses screen there are no buttons or links to do anything useful.
https://localhost:8000/recurring_expenses/
We should add an "Add New" button to create a new recurring expense
The functionality already exists and is fully operational...there's just no button to get there.
The url for the new expense view should be
/recurring_expenses/new
but you can refer toapp/recurring_expenses/urls.py
to double check.