2
0
mirror of https://github.com/frappe/books.git synced 2024-11-09 23:30:56 +00:00

feat: Rename to Frappe Books

This commit is contained in:
Faris Ansari 2020-01-02 23:06:00 +05:30
parent a24bbec88f
commit 6ab5e109ad
10 changed files with 33 additions and 46 deletions

BIN
.github/frappe-books-preview.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

BIN
.github/preview.gif vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

View File

@ -1,26 +1,23 @@
<div align="center">
<h1>
Frappe Accounting
</h1>
<h3>
Simple app for personal and small businesses accounting
</h3>
<h5>
it's pronounced - <em>fra-pay</em>
</h5>
</div>
# Frappe Books
<p align="center">
<a href="https://frappe.io/accounting">
<img src=".github/preview.gif">
</a>
</p>
Free Desktop book-keeping software for small-businesses and freelancers.
Frappe Accounting is built on [FrappeJS](https://github.com/frappe/frappejs) Framework a Full-Stack VueJS based meta-data driven web framework. Under the hood it uses Electron bundles.
<kbd><img src=".github/frappe-books-preview.png" alt="Frappe Books Preview" /></kbd>
### Installation
# Download
#### Step 0
Download the latest release for your platform from the [releases
page](https://github.com/frappe/books/releases).
# Development
Frappe Books is built on [FrappeJS](https://github.com/frappe/frappejs), Vue.js
and Electron. It is offline by default, and uses a local SQLite file as the
database.
## Installation
### Pre-requisites
Install build essentials
@ -39,13 +36,13 @@ xcode-select --install
You will also need [Xcode App](https://apps.apple.com/in/app/xcode/id497799835?mt=12) from App Store
#### Step 1
### Step 1
Install [Node.js](https://nodejs.org/en/) (version 12.6.0)
> Tip: The best way to install and manage Node is to install [nvm](https://github.com/nvm-sh/nvm#usage)
#### Step 2
### Step 2
Install `yarn` package manager.
@ -53,32 +50,22 @@ Install `yarn` package manager.
npm install -g yarn
```
#### Step 3
### Step 3
Clone this repo
```bash
git clone https://github.com/frappe/accounting.git
git clone https://github.com/frappe/books.git
```
#### Step 4
Install dependencies and launch Accounting
### Step 4
```bash
cd accounting
cd books
# Install dependencies
yarn
# Start the electron app
yarn electron
yarn electron:serve
```
### Troubleshooting
- If you are facing node-gyp errors then you may need to:
1. Install Xcode App from App Store.
2. Use node v12.6.0
3. Delete yarn.lock/package-lock.json

View File

@ -9,7 +9,7 @@ exports.default = async context => {
const appName = context.packager.appInfo.productFilename;
return await notarize({
appBundleId: 'io.frappe.accounting',
appBundleId: 'io.frappe.books',
appPath: `${appOutDir}/${appName}.app`,
appleId: process.env.APPLE_ID,
appleIdPassword: process.env.APPLE_APP_PASSWORD

View File

@ -1,5 +1,5 @@
productName: Frappe Accounting
appId: io.frappe.accounting
productName: Frappe Books
appId: io.frappe.books
afterSign: build/notarize.js
snap:
publish:

View File

@ -1,6 +1,6 @@
{
"name": "frappe-accounting",
"description": "Simple Accounting app for everyone",
"name": "frappe-books",
"description": "Simple book-keeping app for everyone",
"version": "0.0.3-beta.6",
"author": {
"name": "Frappe Technologies Pvt. Ltd.",

View File

@ -5,11 +5,11 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>Frappe Accounting</title>
<title>Frappe Books</title>
</head>
<body>
<noscript>
<strong>We're sorry but Frappe Accounting doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
<strong>We're sorry but Frappe Books doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->

View File

@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Frappe Accounting</title>
<title>Frappe Books</title>
<% if (htmlWebpackPlugin.options.nodeModules) { %>
<script>
require('module').globalPaths.push('<%= htmlWebpackPlugin.options.nodeModules.replace(/\\/g, '\\\\') %>')

View File

@ -1,7 +1,7 @@
<template>
<div class="px-12 py-10 flex-1 bg-white window-drag">
<h1 class="text-2xl font-semibold">
{{ _('Welcome to Frappe Accounting') }}
{{ _('Welcome to Frappe Books') }}
</h1>
<p class="text-gray-600">
{{ _('Create a new file or load an existing one from your computer') }}

View File

@ -13,7 +13,7 @@ export function createNewDatabase() {
remote.getCurrentWindow(),
{
title: _('Select folder'),
defaultPath: 'frappe-accounting.db'
defaultPath: 'frappe-books.db'
},
filePath => {
if (filePath) {