frappe/manual_erpnext_com

Name: manual_erpnext_com

Owner: Frappe

Description: Abandoned. Moved to: https://github.com/frappe/erpnext/tree/develop/erpnext/docs

Created: 2015-02-10 12:24:20.0

Updated: 2015-12-31 06:17:01.0

Pushed: 2015-11-12 06:38:21.0

Homepage:

Size: 65674

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

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

nch new-site manual.erpnext.com

Step 2. Then install the app in the bench

nch get-app frappe_theme git@github.com:frappe/frappe_theme
nch get-app manual_erpnext_com git@github.com:frappe/manual_erpnext_com

Step 3: Then install the app in the site

nch --site manual.erpnext.com install-app frappe_theme
nch --site manual.erpnext.com install-app manual_erpnext_com

Step 4: Start the bench

nch --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
  2. 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
  2. The home page is www/index.html
  3. Documentation starts from www/contents/index.html
  4. 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.
  5. 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.
  6. All images are to be stored in respective folders under manual_erpnext_com/public/img.
  7. 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
  8. For any further help, post your question at https://discuss.erpnext.com and select the topic category as Documentation
License

Creative Commons License
ERPNext Manual is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.