Table of Contents
asmr is your solution for coffee beans management. You can manage your bean inventory, track down green bean to roasted bean production, and manage roasted bean transaction. You can also see the production report to see how well your bean is being roasted.
To be able to access asmr on your workplace, you need to contact your workplace Administrator and provide the information about your employment information. The Administrator then will be able to register and grant you access to the system.
To get a local copy up and running follow these simple example steps.
Please make sure have you following installed.
- Clone this repo
git clone https://github.com/danang-id/asmr.git cd asmr
- Install NPM packages
cd ASMR/Web yarn install
- Generate a X509 certificate with PCKS#8 RSA private key. You may want to use [CertificateTools.com]
(https://certificatetools.com) to generate this certificate. Download the certificate and save it to
ASMR.Web/Keys/DataProtectionCertificate.pfx
. If you set up a password for the certificate, you should configure the password on theappsettings.Local.json
as described below. - Generate a long random string for JSON Web Token (JWT) key, and configure that to the
appsettings.Local.json
as described below. - Prepare Google reCAPTCHA Secret Key. You can obtain it on the Google reCAPTCHA Admin Panel.
- Prepare SendGrid API Key, Contact List Id, and Mail Templates Id. You can obtain them on the SendGrid Dashboard.
- Save those secrets by creating
appsettings.Local.json
file (if not exists) in theASMR.Web
folder. Use the following template forappsettings.Local.json
.{ "DataProtection": { "Certificate": { "Password": "" } }, "JsonWebToken": { "Key": "" }, "Google": { "reCAPTCHA": { "SecretKey": "" } }, "SendGrid": { "ApiKey": "", "ContactListId": "", "Templates": { "EmailAddressConfirmation": "", "EmailAddressChanged": "", "RegistrationPendingApproval": "", "RegistrationRejected": "", "Welcome": "", "PasswordReset": "" } } }
To run this application for development, follow these steps.
- Open Terminal / Command Prompt at
ASMR.Web/ClientApp
folder, and type:yarn start
- Open Terminal / Command Prompt at
ASMR.Web
folder, and type:dotnet run
To build this application for release, follow these steps.
- Open Terminal / Command Prompt at
ASMR.Web/ClientApp
folder, and type:yarn build
- Open Terminal / Command Prompt at
ASMR.Web
folder, and type:make release
Make sure you have make
installed. If you are on Windows, follow the answer of this question on the
StackOverflow.
The binary output should be in the ASMR.Web/Releases
folder.
This project is licensed under the BSD 3-Clause License. See LICENSE.md
for more information.
Danang Galuh Tegar Prasetyo - @dananggaluht - [email protected]
Project Link: https://github.com/danang-id/asmr