Application heliping with dog adpotion
The purpose of the application was to create a tool to help adopt dogs. Users can add adoption offers, view them, and communicate with the person offering the offer (by sending email). Application supports two language: Polish/English
First run:
- Install Flutter 2.5.3 (Dart 2.14.4)
- run
flutter pub get
- run
flutter run
To prepare your shell for development run:
virtualenv .env
source .env/bin/activate
pip install -r requirements.txt
To run unit tests run:
pytest
To run the app locally run:
export FLASK_APP=app.py
flask run
# or
gunicorn app:app --log-level=info
Before creatin PR, update the requirements.txt
file and the runtime.txt
file!
Keep the requirements.txt as minimal as possible
pip freeze > requirements.txt
# Check the Python version to update the runtime.txt file
python -V
- Open app
- Register if you haven't had an account before or log in if you have already created an account. When registering, please provide your e-mail, username and password.
- Log in to the application
- Choose the filters you are interested in
- Log in to the application
- Choose the filters you are interested in
- Click search
- Log in to the application
- Choose the filters you are interested in
- Click search
- Click on offer card
- Log in to the application
- Choose the filters you are interested in
- Click search
- Click on offer card
- Press contact with owner
- Log in to the application
- Go to create new offer page
- Add data about the dog
- Publish your offer!
- Log in to the application
- Go to settings
- Find the offer you want to edit
- Edit data about the dog
- Update your offer!
- Log in to the application
- Go to settings
To push commited hanges to Heroku run:
git subtree push --prefix backend heroku master
To recreate Heroku app in case of some crush or bad master branch rebase run:
heroku create # After that rename created app to "puppy-io-backend" in the Heroku dashboard
git remote rm heroku # Only if you already have heroku remote in the repository
heroku git:remote -a puppy-io-backend #
git subtree push --prefix backend heroku master