All Projects → frappe → Manual_erpnext_com

frappe / Manual_erpnext_com

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

Labels

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
  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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].