「ERPNext」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
(英語版から転載)
 
(一部翻訳)
1行目: 1行目:
 
[[Category:ウェブアプリケーション]]
 
[[Category:ウェブアプリケーション]]
 
[[en:ERPNext]]
 
[[en:ERPNext]]
  +
ERPNext は、GPL3 のライセンスを受けたオープンソースの ERP ソフトウェアで、Web ブラウザからアクセスすることができます。機能は論理的なセクションに分かれており、必要な機能のみを選択することができます。これにより、さまざまなユースケースが可能になります。
ERPNext is an open source ERP software licensed under GPL3 which is accessed via the web browser. Functionalities are separated into logical sections which makes it convienient to only choose those capabilites which are needed. This enables many different use cases.
 
   
There is plenty of [https://docs.erpnext.com/ documentation]. Moreover, a [https://discuss.frappe.io/ forum] serves as a gathering point for discussions among users.
+
たくさんの [https://docs.erpnext.com/ ドキュメント] があります。さらに、[https://discuss.frappe.io/ フォーラム] は、ユーザー間の議論のための集まりの場として機能しています。
   
  +
代替ソフトの [[Odoo]] とは対照的に、完全にオープンソースであり、プロプライエタリなバージョンは存在しません。
In contrast to its alternative [[Odoo]], it is completely open source and does not have a proprietary version.
 
   
== Installation ==
+
== インストール ==
   
  +
{{AUR|erpnext}} パッケージを [[インストール]] します。内部的には、独自のインストーラ {{AUR|frappe-bench}} を使用しています。
[[Install]] the package {{AUR|erpnext}}. Internally, the software is unusual to install because it uses it own installer {{AUR|frappe-bench}}.
 
   
  +
[[Nginx]] や [[Apache]] などの HTTP サーバーを使用して、リバースプロキシの背後で ERPNext を実行することができます。
You may want to use an HTTP server like [[Nginx]] or [[Apache]] to run ERPNext behind a reverse proxy.
 
   
 
{{Note|
 
{{Note|
  +
git 設定が変更される可能性があります。セクション {{ic|[safe]}} が追加されます。安心して取り外せます。
Your git configuration will likely be altered. The section {{ic|[safe]}} will be added. You can safely remove it.
 
 
}}
 
}}
   

2023年3月12日 (日) 05:27時点における版

ERPNext は、GPL3 のライセンスを受けたオープンソースの ERP ソフトウェアで、Web ブラウザからアクセスすることができます。機能は論理的なセクションに分かれており、必要な機能のみを選択することができます。これにより、さまざまなユースケースが可能になります。

たくさんの ドキュメント があります。さらに、フォーラム は、ユーザー間の議論のための集まりの場として機能しています。

代替ソフトの Odoo とは対照的に、完全にオープンソースであり、プロプライエタリなバージョンは存在しません。

インストール

erpnextAUR パッケージを インストール します。内部的には、独自のインストーラ frappe-benchAUR を使用しています。

NginxApache などの HTTP サーバーを使用して、リバースプロキシの背後で ERPNext を実行することができます。

ノート:

git 設定が変更される可能性があります。セクション [safe] が追加されます。安心して取り外せます。

Dependencies

The installer uses a virtual environment for Python. Therefore, Python dependencies are not required system-wide.

Bug (Access to database denied)

During the setup, a database needs to be created. This happens with the own user. For the database creation, the user "root" is needed. By default, it has set an empty password but is accessed via the user "root". As this is not possible in the installation, the user "root" needs to be set a password.

Update

Updating requires manual action because the installation will fail if the software's database named "erpnext" already exists.

Save your database and delete it.

# mariadb-dump -p -u root erpnext > /tmp/erpnext.sql
# mariadb -e "DROP DATABASE erpnext;" -p -u root

Save your files.

# cp -r /usr/share/webapps/erpnext/sites/erpnext/private/ /tmp/erpnext-private/
# cp -r /usr/share/webapps/erpnext/sites/erpnext/public/ /tmp/erpnext-public/

Uninstall erpnextAUR and remove its lingering files.

# rm -r /usr/share/webapps/erpnext/

Afterwards, install the package erpnextAUR.

Now, restore your old database and files and remove the backups.

# mariadb -e "DROP DATABASE erpnext;" -p -u root
# mariadb -e "CREATE DATABASE erpnext;" -p -u root
# mariadb -p -u root erpnext < /tmp/erpnext.sql
# cp -r /tmp/erpnext-private/* /usr/share/webapps/erpnext/sites/erpnext/private/
# cp -r /tmp/erpnext-public/* /usr/share/webapps/erpnext/sites/erpnext/public/
# rm /tmp/erpnext.sql
# rm -r /tmp/erpnext-private/
# rm -r /tmp/erpnext-public/

Upgrade the database.

# tmux new-session -s erpnext "erpnext"
# cd /usr/share/webapps/erpnext/
# sudo -u erpnext bash -c "bench migrate"
# tmux send-keys -t erpnext C-c

Ultimately, assure the correct ownership.

 # chown -R erpnext:erpnext /usr/share/webapps/erpnext/

Removal

As the software creates files on its own pacman cannot keep track of all files. For a complete removal, run:

# rm -r /usr/share/webapps/erpnext/

Backup

Create a backup of the database, see MariaDB#Backup. Additionally, save your files which are located in /usr/share/webapps/erpnext/sites/erpnext/private/ and /usr/share/webapps/erpnext/sites/erpnext/public/.

Usage

Start the executable erpnext. The root password is required to access the user "erpnext". The server runs and can be accessed via http://localhost:8000.