{"id":13554525,"url":"https://github.com/usemodj/WikiCloth","last_synced_at":"2025-04-03T07:31:39.846Z","repository":{"id":137796072,"uuid":"62855254","full_name":"usemodj/WikiCloth","owner":"usemodj","description":"Markdown Wiki Engine Web Framework using MongoDB as well as Node.js","archived":false,"fork":false,"pushed_at":"2018-06-23T05:55:12.000Z","size":320,"stargazers_count":5,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-04T02:32:56.069Z","etag":null,"topics":["angular","angularjs-mean-fullstack","express","markdown-wiki-engine","mathjax","mongodb","wiki-engine","wikicloth"],"latest_commit_sha":null,"homepage":"http://www.wikicloth.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/usemodj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-07-08T03:16:59.000Z","updated_at":"2023-05-15T21:45:20.000Z","dependencies_parsed_at":"2023-05-22T14:15:28.076Z","dependency_job_id":null,"html_url":"https://github.com/usemodj/WikiCloth","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usemodj%2FWikiCloth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usemodj%2FWikiCloth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usemodj%2FWikiCloth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usemodj%2FWikiCloth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/usemodj","download_url":"https://codeload.github.com/usemodj/WikiCloth/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246956490,"owners_count":20860447,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","angularjs-mean-fullstack","express","markdown-wiki-engine","mathjax","mongodb","wiki-engine","wikicloth"],"created_at":"2024-08-01T12:02:49.659Z","updated_at":"2025-04-03T07:31:39.504Z","avatar_url":"https://github.com/usemodj.png","language":"JavaScript","readme":"# WikiCloth\nWikiCloth is a Wiki engine to create and edit a web page. It uses the Markdown syntax for plain text and the MathJax LaTeX syntax for the mathematical symbols.\n\nAs it operates as a web server, you can view the web pages created by any web browser, and edit a web page while logged in.\n\nYou can receive comments on each web page, then upload the files you can see the uploaded files in a Web page.\n\nEach web page can compare the edited contents having changed history.\n\n_This project was generated with the [Angular Full-Stack Generator](https://github.com/DaftMonk/generator-angular-fullstack) version 3.7.6._\n\n## Getting Started\n\n### Prerequisites\n- [Git](https://git-scm.com/)\n- [Node.js and npm](nodejs.org): Node v9.3 (prefer `yarn` to `npm`)\n- [Bower](bower.io)\n  (`npm install --global bower`)\n- [Ruby](https://www.ruby-lang.org) and then `gem install sass`\n- [Gulp](http://gulpjs.com/)\n  (`npm install --global gulp` , or `yarn global add gulp` if `yarn` installed)\n- [MongoDB](https://www.mongodb.org/) : Keep a running daemon with `mongod`\n\n\u003e#### How to install the prerequisites:\n\u003e\u003e [/doc/how-to-install-prerequisites.md](/doc/how-to-install-prerequisites.md)\n\n### Developing\n\n1. Run `npm install`(or, `yarn install`) to install server dependencies.\n\n2. Run `bower install` to install front-end dependencies.\n\n3. Run `mongod` in a separate shell to keep an instance of the MongoDB Daemon running\n\n4. Run `gulp serve`(or, `npm start`, `yarn start`) to start the development server. It should automatically open the client in your browser when ready.\n\n\u003e For updating `webdriver` for `protractor`,\n```\n$ yarn update-webdriver\n# Or,\n$ npm update-webdriver\n```\n\n\u003e For running `gulp serve`:\n```\n$ yarn serve\n# Or,\n$ npm serve\n```\n\n\u003e For running `gulp test`:\n```\n$ yarn test\n# Or,\n$ npm test\n```\n\n\n## Build \u0026 production\nChange `start.sample.sh` to `start.sh` and  modify it.\n\nRun `gulp build` for building, `mkdir dist/client/assets/upload`\nfor making `upload` directory and `sh start.sh` for production mode.\n\n#### Run production mode\n```\n# For building into `dist/` directory:\n$ gulp build\n                                                                                                                                                                                                                                                                                                                    \n# Go to `WikiCloth/dist/` directory and run `production` mode:\n$ cd dist/\n\n# To run `npm start` in `production` mode:\nWikiCloth/dist$ NODE_ENV=production GOOGLE_ID=[id] GOOGLE_SECRET=[secret]  npm start\n```\n\n\u003e### To run the server on `production mode` using ___PM2___ process manager\n\u003e Copy the `start.sample.sh` bash file to `start.sh`,\n\u003e modify the parameters, change the file mode to execute (`chmod a+x start.sh`)\n\u003e and then, run the shell script `start.sh`.\n\u003e\n\u003e\u003e _(prefer `PM2` process manager to others)_\n\u003e\u003e\n\u003e\u003e [PM2](http://pm2.keymetrics.io/) - Advanced, production process manager for Node.js\n\u003e\u003e```\n\u003e\u003e# Install `PM2` globally:\n\u003e\u003e$ yarn global add pm2\n\u003e\u003e\n\u003e\u003e# Or, use this command:\n\u003e\u003e$ sudo npm install -g pm2\n\u003e\u003e\n\u003e\u003e$ pm2 --help\n\u003e\u003e```\n\n\n## Testing\nRunning `npm test` will run the unit tests with karma.\n\n\n## issue solution\n\nRunning `sudo npm rebuild node-sass`\n\n\u003e no such file or directory, scandir 'node_modules/node-sass/vendor'\n\nRunning `sudo npm rebuild optipng`\n\n\u003e 'node_modules/optipng-bin/vendor/optipng' ENOENT\n\n\n## Oauth login _for people who already have social site accounts_\n- Login with `Facebook`: \u003chttps://developers.facebook.com/docs/facebook-login\u003e\n\u003e facebook callbackURL: `\"{DOMAIN}:{PORT}/auth/facebook/callback\"`\n\n- Login with `Twitter`: \u003chttps://apps.twitter.com\u003e\n\u003e twitter callbackURL: `\"{DOMAIN}:{PORT}/auth/twitter/callback\"`\n\n- Login with `Google`: \u003chttps://console.developers.google.com\u003e\n \u003e google callbackURL: `\"{DOMAIN}:{PORT}/auth/google/callback\"`\n\nExample for `google` console page:\n\u003e DOMAIN=`'http://localhost'`\n\u003e PORT=`9000`\n\u003e\n\u003e google callbackURL: '`http://localhost`:`9000`/auth/google/callback'\n \n_`Those did not be saved to the configuration file(\"server/config/local.env.js\", See \"local.env.sample.js\")\nfor security reasons.`_\n","funding_links":[],"categories":["JavaScript","express"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusemodj%2FWikiCloth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fusemodj%2FWikiCloth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusemodj%2FWikiCloth/lists"}