Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/karl-sjogren/songbird


https://github.com/karl-sjogren/songbird

Last synced: 5 days ago
JSON representation

Awesome Lists containing this project

README

        

# Songbird [![CodeQL](https://github.com/karl-sjogren/songbird/actions/workflows/codeql-analysis.yml/badge.svg?branch=develop)](https://github.com/karl-sjogren/songbird/actions/workflows/codeql-analysis.yml)

Small intranet stand-in to use at work until we get around to developing something for real.

## Requirements

The following things needs to be installed on the development machine.

* Node JS >= 12 ()
* Ember CLI ()
* Yarn > 1.22 ()
* .NET 7.0 ()
* GIT ()

## Running the project

To run this project two terminal windows is needed (or preferably a split terminal window).

### Window 1

Window 1 should be started as Administrator (assuming this is run on Windows since Ember
wants to use symlinks. This speeds up the build process **a lot**.

```sh
cd src/Songbird.Frontend/
ember s
```

### Window 2

```sh
cd src/Songbird.Web/
dotnet watch run
```

The project is now available at .

## Entity Framework Migrations

```sh
dotnet ef migrations add AddUser // Add a new migration named AddUser
dotnet ef migrations remove // Remove the latest migration
dotnet ef database update // Apply all migrations
dotnet ef database update AddUser // Apply all migrations up to, or remove down to, the AddUser migration.
```

After changing the models and generating the autogenerated models must also be updated. This can easily be
done by running the `generate-ef-models` node script like this.

```sh
yarn generate-ef-models
```

.