vapid

Vapid is an intentionally simple content management system built on the idea that you can create a custom dashboard without ever leaving the HTML.

Github星跟踪图

Vapid is an intentionally simple content management system built on the idea that you can create a custom dashboard without ever leaving the HTML.

CircleCI

Installation

Vapid requires node v8.9.0 or higher, and can be installed via npm

npm install -g @vapid/cli

Note: A desktop GUI application is coming soon—please add yourself to the mailing list if you'd like to be notified when that is available.

Usage

To create a new website project, use the Vapid command line tool:

vapid new path/to/project/folder

Then change to the project directory, and start the development server. By default, the server will livereload, and refresh your website as you change the source files.

cd path/to/project/folder
vapid start .

A few files and folders you should be aware of:

File/Folder, Description
---, ---
www, Your website files. Anything you put in here is an accessible resource, with the exceptions of files that start with underscores or periods—those are private/special. Sass and JS files that have the .pack.js, .pack.scss, or .pack.sass extensions will be compiled by Webpack.
data, SQLite database file, and uploaded images. In general, you do not want to mess with this folder.
node_modules, This one should also be ignored.
package.json, Information about your project, including Vapid configuration options.
.env, A private file that contains server environment variables, like the SECRET_KEY used by the web server.

Deploying

Vapid can be deployed to any hosting service that supports Node.js. Here are a few to consider:

Service, Notes
---, ---
Vapid, Zero-config service that can be accessed via the vapid deploy command.
Heroku, Free or paid tiers. One thing to note is that Heroku's file system is ephemeral, so Vapid's type=image directives won't work here.
Glitch, The easiest way to take Vapid for a test-drive.

Or, use the vapid build command to export to a static website, and host on S3, Surge, or the like.

Community

If you'd like to get involved, and help improve Vapid:

License

MIT

主要指标

概览
名称与所有者vapid/vapid
主编程语言SCSS
编程语言JavaScript (语言数: 3)
平台
许可证MIT License
所有者活动
创建于2017-12-11 18:55:42
推送于2021-01-12 16:41:29
最后一次提交2021-01-12 10:41:28
发布数69
最新版本名称v0.11.4 (发布于 )
第一版名称v0.1.0 (发布于 )
用户参与
星数1.5k
关注者数37
派生数68
提交数234
已启用问题?
问题数125
打开的问题数15
拉请求数60
打开的拉请求数2
关闭的拉请求数13
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?