Sign inSign up

sladesoftware/talaria-ci

By sladesoftware

•Updated over 8 years ago

A CI image containing all tools required to build the Talaria application.

Image
0

445

sladesoftware/talaria-ci repository overview

Circle CI
CircleCI

⁠Project Talaria

⁠What is Talaria?

Talaria is a basic chat application for use between friends.

⁠Clone and Build

The repository can be cloned locally using the following Git command:

git clone https://bitbucket.org/olympus-team/olympus-talaria-v2.git

And can be built from the command line with the following commands:

Windows

set CI=true
powershell .\build.ps1

Linux

CI=true
chmod +x build.sh
./build.sh

Note: You must set the environment variable CI to be true in order to disable watch mode in the React client tests.

⁠Launching the Application

⁠API Service

You have two options for launching the API service:

  1. Open the Talaria.sln solution in Visual Studio 2017, set the Talaria.Api project as the startup project, and then hit F5 on the keyboard to launch with a debugger attached (or Ctrl+F5 to launch without attaching a debugger).
  2. From the command line on a system with the dotnet-cli tools installed, navigate to the root directory for the repository and run the following command:
dotnet run -p Talaria.Api\Talaria.Api.csproj
⁠React Client

To launch the client, open the command line and navigate to the project directory under the root of the repository (i.e. the talaria-react-client folder) and run the following command:

npm start

This will launch the client in watch mode; which means that if you make any changes to any of the source files and save the changes, the app will be automatically rebuilt and refreshed in the browser. If you wish to run the app without watch mode enabled, then run the following commands:

# First make sure to build the app in production mode:
npm run build

# And then serve the build folder
serve -s build

⁠Using Entity Framework

Adding a migration:

dotnet ef migrations add <migration name>

Running migrations

dotnet ef migrations update

Ef will take models that are registered against the context and create the migrations for you.

⁠Owner

This project is owned and controlled by Samuel Slade and is developed by the himself and Andrew Goacher.

Tag summary

Content type

Image

Digest

Size

955.5 MB

Last updated

over 8 years ago

docker pull sladesoftware/talaria-ci