This repository provides a sample of patterns and practices for Avanade projects.
Update this description.
DELETE THIS COMMENT
Add additional folders that your project uses
DELETE THIS COMMENT
- docs - documentation, process flows and state diagrams, and technical architecture.
- test - automated tests
- .vscode - configuration and recommendations for the VS Code IDE.
- .devcontainer - default configuration for GitHub codespaces or containerized development.
Delete this section if your project doesn't use node
DELETE THIS COMMENT
- Open the
.env.template
file, and update with your settings - save it as.env
- Run
npm install
to ensure you have all dependencies. - Run the development server with
npm run dev
- Open http://localhost:3000 with your browser to see the result.
Delete this section if your project doesn't use python
DELETE THIS COMMENT
The tooling uses Python, and we recommend using a conda environment when installing requirements, for example:
$ conda create --name distribdata python=3.9 -y
$ conda activate distribdata
$ pip install -r requirements-dev.txt
Delete this section if your project doesn't use python
DELETE THIS COMMENT
-
Create a separate Python environment for your installation, and activate it. You have two options:
a. Use a Conda distribution
If you are using a distribution of conda, you may want to create a new conda environment, rather than use venv:
conda create --name distribdata python=3.9 -y
b. Use a Python virtual environment
On Windows, you may need to use
python
command where there are references to thepython3
command.On linux, you may need to run
sudo apt-get install python3-venv
first.$ python3 -m venv env $ source env/bin/activate $ pip3 install -r requirements-dev.txt
-
Install the required dependencies in your new Python environment.
$ pip3 install -r requirements-dev.txt
The
requirements.txt
file can be used alone if you don't intend to develop further.
Delete this section if your project doesn't have SQL
DELETE THIS COMMENT
You can use the SQL Server extension for VS Code to run the SQL ledger examples directly. On non-windows machines, make sure you have drivers for MS SQL installed.
On a mac, you can run the following commands:
brew install unixodbc
brew tap microsoft/mssql-release https://github.com/Microsoft/homebrew-mssql-release
brew update
brew install msodbcsql mssql-tools