Update development notes - #75
Open
Ghesselink wants to merge 1 commit into
Open
Conversation
aothms
requested changes
Nov 3, 2023
| Update and install submodules | ||
|
|
||
| ~~~ | ||
| submodule init && submodule update |
Member
There was a problem hiding this comment.
git submodule update --init --recursive
| Set environment to 'development' | ||
|
|
||
| ~~~ | ||
| export environment=development |
Member
There was a problem hiding this comment.
export is for linux/wsl, on windows use set
|
|
||
| Setup local environment with the following packages | ||
| ~~~ | ||
| pip install lark-parser==0.12.0 numpy ifcopenshell flask flask-cors numpy gunicorn rq redis SQLAlchemy psycopg2 psycopg2cffi sqlalchemy-utils Flask-BasicAuth flasgger requests XlsxWriter requests_oauthlib Authlib requests argparse orjson --upgrade && conda install flake8 |
Member
There was a problem hiding this comment.
psycopg2 psycopg2cffi are not needed, why not use pip to install flake8 as well?
|
|
||
| Depending on the OS, change ui/package.json. For instance to 'bash run_debug.sh' in case of a linux system. | ||
| ~~~ | ||
| "api": "cd ../application && run_no_debug.bat" |
Member
There was a problem hiding this comment.
Consider adding api-windows and api-linux or sth instead of just api to package.json so that no local change need to be made.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Relatively simple method to run React frontend and Flask backend on a local machine without using docker.