Shamsuddin Rehmani
Shamsuddin Rehmani
@Abdur-rahmaanJ when you have time
In order to make the `new` command work properly (and fix the critical bug #481), we need to break the project into two parts: 1. cookiecutter for shopyo (something similar...
setting `FLASK_APP` and `FLASK_ENV` as below in `.flaskenv` or uncommenting these line https://github.com/Abdur-rahmaanJ/shopyo/blob/dev/shopyo/api/cli.py#L44-L46 cause `ModuleNotFoundError: No module named 'modules'` at line https://github.com/Abdur-rahmaanJ/shopyo/blob/dev/shopyo/app.py#L19 when running `shopyo initilaise`. If I change the...
see example https://github.com/pallets/flask/blob/master/.pre-commit-config.yaml
using `dirhtml` removes the .html in the url and looks better
Clean `create_app` function inside `app.py` using helper functions like done here https://github.com/cookiecutter-flask/cookiecutter-flask/blob/master/%7B%7Bcookiecutter.app_name%7D%7D/%7B%7Bcookiecutter.app_name%7D%7D/app.py
Replace site under construction text with a template that has the navbar (same a login maybe), has a footer (something like built with shopyo, copyright etc.) and the body can...
`upload.py` should use a contract (i.e. an abstract class) to make sure api's functions (example `initialize` does not fail if the template for upload function is not followed.
Rather than manually pass a string with content of `requirement.txt` in the new command, we pass the string variable that gets populated with content of `requirements.txt` when `setup.py` is first...
- add `pymysql` and `cryptography` to `requriement.txt`. - add docs for how to setup `mysql` locally (linux and windows) and example of using `SQLALCHEMY_DATABASE_URI` with `mysql` vs `sqlite`.