Skip to content

Releases: knoxy5467/a-better-notion

1.0 Release

11 May 00:20
Compare
Choose a tag to compare

Binary Distribution Installation

Mac OS

Assumptions

  • Access to a bash or zsh terminal

Step 1: Download database and binary distribution

  • Download macos-release.zip
  • Assuming google chrome is being used, the browser will flag macos-release as suspicious. Select the release in your downloads tab, using the button in the upper right hand corner of chrome, and press "Download suspicious file"
  • Unzip macos-release.zip, creating the folder temp
  • Download and unzip server-docker.zip, creating the server-docker folder

Step 2: Database setup

  • Download docker desktop at this web page: https://www.docker.com/products/docker-desktop/
  • In a bash or zsh terminal, navigate inside of your server-docker folder using the command cd [insert path of server-docker here]
  • Inside that folder, run the command docker-compose up - this will make the database ready to receive connections!

Step 3: Run the Server and Client

  • Next, in Finder, navigate into the folder temp/release/server and double click on the server binary file (which has a terminal icon next to it). This will create a server settings config at ~/.abn_settings/Settings.toml, open` a terminal, and run the server. You may get denied access the first time, if this happens, just double-click again, and run the server.
  • Finally, in Finder, navigate into the folder temp/release/client and double click on the client binary file. This will open a terminal, and run the client!

Source Distribution Installation

Build Instructions

Step 1: Download Source Code, Rust, and Docker

Step 2: Run Database, Client, and Server

  • Open three terminals, and navigate to a-better-notion-1.0 in each using the cd command
  • Make sure you don't have any databases running in docker. In the first terminal, build and run the database with docker-compose up
  • In the second, run the server with cargo run -p server
  • In the third, run the client with cargo run -p client

Running Tests

  • Open a terminal. Run all tests with cargo test. Run tests for frontend only with cargo test -p client. Run tests for lib only with cargo test -p common. Run tests for server only with cargo test -p server
  • Run all tests and view code coverage with zsh show-lcov.sh

Release Notes

What's changed:

Features

  • Fully debugged task CRUD
  • Filters & views API implemented on Backend
  • Stop all client-side CRUD if server goes down
  • Improved automated server settings workflow

Contribution Guidelines

Tips for Development

  • Source code repository can be found here. View file changes by clicking on the Commits icon in the upper right hand corner of the file view.
  • Use zsh show-lcov.sh when writing tests to meet code coverage
  • Use zsh pr-checks.sh to ensure code will pass automated tests for a pull request, before making the pull request
  • Use cargo clippy to run clippy, which we use to ensure all code is properly formatted
  • When switching to branches with database changes or making changes to database creation, make sure to delete the database and rerun docker-compose up in the project root

Documentation

  • See the ABN wiki for user documentation.
  • To read the API documentation of a crate, run cargo rustdoc -p <crate_name> --open in the project root. Currently we have 3 crates: client, common, and server.

v1.0test-0.2

09 May 22:10
Compare
Choose a tag to compare
make server have a different image name

1.0 Release Notes Draft

09 May 15:57
Compare
Choose a tag to compare
Pre-release

Binary Distribution Installation

Linux

  • Access to a bash or zsh terminal

Step 1: Download database and binary distribution

  • Download and unzip linux-release.zip
  • Unzip linux-release.zip, creating the folder temp
  • Download and unzip server-docker.zip, creating the server-docker folder

Step 2: Database setup

  • Download docker desktop at this web page: https://www.docker.com/products/docker-desktop/
  • In a bash or zsh terminal, navigate inside of your server-docker folder using the command cd [insert path of server-docker here]
  • Inside that folder, run the command docker-compose up - this will make the database ready to receive connections!

Step 3: Run the Server and Client

  • Next, in Finder, navigate into the folder temp/release/server and double click on the server binary file (which has a terminal icon next to it). This will create a server settings config at ~/.abn_settings/Settings.toml, open` a terminal, and run the server.
  • Finally, in Finder, navigate into the folder temp/release/client and double click on the client binary file. This will open a terminal, and run the client!

Windows

  • Assumptions: access to a bash or zsh terminal

Step 1: Download database and binary distribution

  • Download and unzip windows-release.zip
  • Unzip windows-release.zip, creating the folder temp
  • Download and unzip server-docker.zip, creating the server-docker folder

Step 2: Database setup

  • Download docker desktop at this web page: https://www.docker.com/products/docker-desktop/
  • In a bash or zsh terminal, navigate inside of your server-docker folder using the command cd [insert path of server-docker here]
  • Inside that folder, run the command docker-compose up - this will make the database ready to receive connections!

Step 3: Run the Server and Client

  • Next, in Finder, navigate into the folder temp/release/server and double click on the server binary file (which has a terminal icon next to it). This will create a server settings config at ~/.abn_settings/Settings.toml, open` a terminal, and run the server.
  • Finally, in Finder, navigate into the folder temp/release/client and double click on the client binary file. This will open a terminal, and run the client!

Mac OS

Assumptions

  • Access to a bash or zsh terminal

Step 1: Download database and binary distribution

  • Download macos-release.zip
  • Assuming google chrome is being used, the browser will flag macos-release as suspicious. Select the release in your downloads tab, using the button in the upper right hand corner of chrome, and press "Download suspicious file"
  • Unzip macos-release.zip, creating the folder temp
  • Download and unzip server-docker.zip, creating the server-docker folder

Step 2: Database setup

  • Download docker desktop at this web page: https://www.docker.com/products/docker-desktop/
  • In a bash or zsh terminal, navigate inside of your server-docker folder using the command cd [insert path of server-docker here]
  • Inside that folder, run the command docker-compose up - this will make the database ready to receive connections!

Step 3: Run the Server and Client

  • Next, in Finder, navigate into the folder temp/release/server and double click on the server binary file (which has a terminal icon next to it). This will create a server settings config at ~/.abn_settings/Settings.toml, open` a terminal, and run the server. You may get denied access the first time, if this happens, just double-click again, and run the server.
  • Finally, in Finder, navigate into the folder temp/release/client and double click on the client binary file. This will open a terminal, and run the client!

Source Distribution Installation

Build Instructions

Step 1: Download Source Code, Rust, and Docker

Step 2: Run Database, Client, and Server

  • Open three terminals, and navigate to a-better-notion-1.0 in each using the cd command
  • Make sure you don't have any databases running in docker. In the first terminal, build and run the database with docker-compose up
  • In the second, run the server with cargo run -p server
  • In the third, run the client with cargo run -p client

Running Tests

  • Open a terminal. Run all tests with cargo test. Run tests for frontend only with cargo test -p client. Run tests for lib only with cargo test -p common. Run tests for server only with cargo test -p server
  • Run all tests and view code coverage with zsh show-lcov.sh

Release Notes

What's changed:

Features

  • Fully debugged task CRUD
  • Filters & views API implemented on Backend
  • Stop all client-side CRUD if server goes down
  • Improved automated server settings workflow

Contribution Guidelines

Tips for Development

  • Source code repository can be found here. View file changes by clicking on the Commits icon in the upper right hand corner of the file view.
  • Use zsh show-lcov.sh when writing tests to meet code coverage
  • Use zsh pr-checks.sh to ensure code will pass automated tests for a pull request, before making the pull request
  • Use cargo clippy to run clippy, which we use to ensure all code is properly formatted
  • When switching to branches with database changes or making changes to database creation, make sure to delete the database and rerun docker-compose up in the project root

Documentation

  • See the ABN wiki for user documentation.
  • To read the API documentation of a crate, run cargo rustdoc -p <crate_name> --open in the project root. Currently we have 3 crates: client, common, and server.

pre- 1.0 release pre-release

07 May 05:56
6392d4d
Compare
Choose a tag to compare
Pre-release

What's Changed

New Contributors

Full Changelog: beta...pre-1.0-pre-release

current release state 01MAY2024

01 May 20:16
0742d92
Compare
Choose a tag to compare
Pre-release

This contains the files and archives for our 3 supported operating systems aswell as an archive that contains our server application that can be ran using docker through the docker compose file.

Beta Release

18 Apr 15:02
Compare
Choose a tag to compare
Beta Release Pre-release
Pre-release

How to install

  • Download and unzip the release binaries for your OS (windows and osx supported)
  • Follow database setup instructions in the wiki
  • Open terminal
  • In terminal, run the commands:
cd path_to/a-better-notion-beta-release
./server
  • Open a new terminal, and run the commands:
cd path_to/a-better-notion-beta-release
./client

Which commands are working

  • Task creation
  • Task deletion
  • Task editing
  • Marking tasks as completed

For more on these commands, see the wiki

Known Issues

Installing from source

  • To install from source, see instructions in our wiki.

Release notes for developers

# navigate to a-better-notion project root directory

# run all unit/integration tests
cargo test

# run unit & integration tests for client 
cargo test -p client

# run unit & integration tests for server 
cargo test -p server

v0.1

29 Mar 15:26
Compare
Choose a tag to compare
v0.1 Pre-release
Pre-release

minimum viable product

alpha 0.1

27 Mar 13:21
Compare
Choose a tag to compare
alpha 0.1 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: https://github.com/knoxy5467/a-better-notion/commits/alpha

No client server connection as of 0920 27mar24