简体   繁体   English

从香草论坛获取论坛文件

[英]Get Forum Files from Vanilla Forum

I had homework of making a forum about a subject, tomorrow I have show my final work. 我做了一个关于主题的论坛的作业,明天我已经展示了我的最终作品。

I used VANILLA FORUMS to make the webiste, created it, modified what needs to be modified got the themes and everything done, now im looking for someway to import only the website and database files ( html/css/js/php... files ) plus the database, like get all the files that make the website launch without re-opening Xampp everytime 我使用VANILLA FORUMS来制作网站,创建它,修改需要修改的内容以及主题和所有内容完成,现在我正在寻找一些只导入网站和数据库文件(html / css / js / php ... files )加上数据库,比如获取使网站启动的所有文件,而不是每次都重新打开Xampp

to sum up Is there anyway I can import the webiste files from the XAMMP folder so its shareable ? 总结是否有我可以从XAMMP文件夹导入网站文件,以便其可共享? Or if somebody knows simply where they must be. 或者,如果有人知道他们必须在哪里。

Appreciate your help 感谢您的帮助

我相信他们可能在Htdocs,但不确定是否拖动他们会保存他们的状态,因为它显示在Localhost / yourforum

There are two ways and im guessing you need the first one: 有两种方式,我猜你需要第一种方式:

  1. Make a dump of your database, store that file in your document root. 转储数据库,将该文件存储在文档根目录中。 And now zip everything. 现在压缩一切。 The other person can unzip it and load the database dump in their database and proceed. 另一个人可以解压缩它并在其数据库中加载数据库转储并继续。

  2. You add it to a repository and send the link to the other party. 您将其添加到存储库并将链接发送到另一方。 The other party pulls it from the repository, does (something similar to) composer install and npm build and a form of migration the database. 另一方从存储库中提取它,确实(类似于) composer installnpm build以及迁移数据库的形式。

In either case, it's recommended that you create a readme.md , explaining how to set up the project. 在任何一种情况下,建议您创建一个readme.md ,解释如何设置项目。

Based on the fact that you're asking, I think you're looking for the first solution, which is the most simple and acceptable for entry level programmers/students. 根据您提出的事实,我认为您正在寻找第一个解决方案,这对入门级程序员/学生来说是最简单和可接受的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM