Sqwiki's goal is to be the easiest wiki software in the world to use.
You can find the source code on GitHub
You can access a demo of Sqwiki at http://sqwiki.dynamictivity.com
https://codeclimate.com/github/Dynamictivity/sqwiki
- Markdown with a powerful WYSIWYG markup editor
- HTML which gets purified
- Themeable with jQueryUI
- Moderation Queue
- Access Levels (Admin/Member/Editor/Banned)
- Protected pages based on role level (Admin, Editor, Member, Public)
- Talk pages
- Diff (Difference) viewing
Here is an example of the diff view:
These instructions will get you up and running quickly.
Vagrant and Virtualbox installations are required before you perform these steps.
# git clone https://github.com/Dynamictivity/sqwiki.git
-- Clone the source-code repository# cd sqwiki
-- Change directory into the sqwiki source# vagrant up
-- Bring up the Vagrant dev environment# vagrant ssh
-- Login to the Vagrant dev environment# cd /vagrant
-- Change into the work tree# ./init-docker
-- Bring up the application docker container cluster
A Docker and Docker Compose installations are required for these steps.
# mkdir sqwiki
# wget https://raw.githubusercontent.com/Dynamictivity/sqwiki/master/docker-compose.yml
# docker-compose up
Simply modify the docker-compose.yml
with your desired settings, here is an example:
environment:
SQWIKI_TITLE: 'Sqwiki'
SQWIKI_SLOGAN: 'the squeaky clean wiki'
SQWIKI_AUTO_ACTIVATE_PENDING_REVISIONS: 'true'
SQWIKI_ALLOW_USER_THEME_SWITCHING: 'true'
SQWIKI_ENABLE_ACCOUNT_REGISTRATION=true
SQWIKI_DEFAULT_THEME: 'redmond'
SQWIKI_GOOGLE_ANALYTICS_ID: 'UA-5187184-27'
SQWIKI_URL: 'http://sqwiki.io'
SQWIKI_DEBUG_LEVEL: '2'
SQWIKI_EMAIL_TRANSPORT: 'debug'
SQWIKI_ADMIN_EMAIL: '[email protected]'
SQWIKI_ADMIN_EMAIL_HOST: 'mail.dynamictivity.com'
SQWIKI_ADMIN_EMAIL_PORT: '465'
SQWIKI_ADMIN_EMAIL_TLS: 'true'
SQWIKI_ADMIN_EMAIL_PASSWORD: 'password'
SQWIKI_OWNER_EMAIL: '[email protected]'
SQWIKI_OWNER_USERNAME: 'sockpuppet'
SQWIKI_DATABASE_HOST: 'mysql'
SQWIKI_DATABASE_USERNAME: 'root'
SQWIKI_DATABASE_PASSWORD: 'sqwiki'
SQWIKI_DATABASE_DATABASE: 'sqwiki'
SQWIKI_DATABASE_PREFIX: ''
These instructions will allow you to make live updates to the files without having to rebuild the docker container.
# vagrant up
-- Bring up the Vagrant dev environment# vagrant ssh
-- Login to the Vagrant dev environment# cd /vagrant
-- Change into the work tree# composer install
-- Install required packages# ./init-docker-dev.sh
-- Bring up the application docker container cluster# sudo ./sync.sh
-- Sync the changed files to the running docker container- NOTE: You must do this every time you make changes to the files and you don't even need to restart the docker container