https://github.com/frappe/manual_erpnext_com
Abandoned. Moved to: https://github.com/frappe/erpnext/tree/develop/erpnext/docs
https://github.com/frappe/manual_erpnext_com
Last synced: 4 months ago
JSON representation
Abandoned. Moved to: https://github.com/frappe/erpnext/tree/develop/erpnext/docs
- Host: GitHub
- URL: https://github.com/frappe/manual_erpnext_com
- Owner: frappe
- License: other
- Created: 2015-02-10T12:24:20.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-12T06:38:21.000Z (over 9 years ago)
- Last Synced: 2024-12-30T22:41:31.420Z (6 months ago)
- Language: HTML
- Homepage:
- Size: 62.6 MB
- Stars: 11
- Watchers: 13
- Forks: 35
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
README
## ERPNext Manual
manual.erpnext.com
### To Contribute
You will need to fork this repository and send pull requests of your changes
### Install
Install Frappe Bench: https://github.com/frappe/bench
Step 1. Create a new site on the bench
```
$ bench new-site manual.erpnext.com
```Step 2. Then install the app in the bench
```
$ bench get-app frappe_theme [email protected]:frappe/frappe_theme
$ bench get-app manual_erpnext_com [email protected]:frappe/manual_erpnext_com
```Step 3: Then install the app in the site
```
$ bench --site manual.erpnext.com install-app frappe_theme
$ bench --site manual.erpnext.com install-app manual_erpnext_com
```Step 4: Start the bench
```
$ bench --site manual.erpnext.com serve --port 8000
```Open your browser on `http://localhost:8000` to see the site
#### To develop
Disable website caching
1. Open `sites/manual.erpnext.com/site_config.json`
2. Add `"disable_website_cache": 1` to the options
3. Clear the cache: `bench --site manual.erpnext.com clear-cache`Run `$ bench --site manual.erpnext.com serve --port 8000` again
Edits will appear on the site.
#### Added New Pages?
1. Sync New Pages into Database: `bench --site manual.erpnext.com sync-www`
1. Rebuild Web Page Database: `bench --site manual.erpnext.com sync-www --force`#### Where to Start?
1. See `frappe-bench/apps/manual_erpnext_com/manual_erpnext_com/www`
1. The home page is `www/index.html`
1. Documentation starts from `www/contents/index.html`
1. `index.txt` holds the table of contents of that folder and will be used to produce a list of pages under that section. Any page you add should be added to its parent folder's `index.txt`. For example, see `www/contents/accounts/index.txt`.
1. `accounts` is a folder. But `https://manual.erpnext.com/contents/accounts` is also a web page. This is handled by having a `index.md` file under `accounts`.
1. All images are to be stored in respective folders under `manual_erpnext_com/public/img`.
1. To link an image in the public folder in the documentation, use `/assets/manual_erpnext_com/img/{path_to_the_image}`. For example: `/assets/manual_erpnext_com/img/accounts/account-settings.png`
1. For any further help, post your question at `https://discuss.erpnext.com` and select the topic category as `Documentation`#### License
ERPNext Manual is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.