This page describes how to get a development environment set up.
Overview
Requirements
This project uses:
- VS Code
- Obsidian
- This is for this wiki :)
- DotNet
- This is used for the app logic (aka business logic, backend)
Other helpful tools
- This extension for VS Code for C#
- GitHub CLI
- See GitHub CLI for some notes on how to use this tool
Procedures
Setting up development environment
- Install requirements in Overview
- Make sure
git
is also installed - Clone this repository
- Open VS Code to this repository
- Open a terminal
- Navigate the terminal to
app
. This is where our current code lives!cd app
- Run
dotnet restore
Running project
- You can use VS Code’s built-in “Run and Debug” menu.
- You can also use the terminal:
- Navigate to
app
- Run
dotnet run
- Navigate to
- If you receive an error about the database, you may need to run
dotnet ef database update
before running the project.
Note: the CLI for this app has yet to be documented (tracked by #95). In the meantime, check out this discussion post: #96
Wiki
- Open Obsidian
- Click ‘Open folder as vault’
- Navigate to the
wiki
folder of this repository - You’ll see a dialog asking you whether to enable third-party extensions. Allow extensions!