Skip to content
Branch: master
Clone or download
charmander Merge pull request #522 from Weasyl/dependabot/pip/libweasyl/sqlalche…
…my-1.3.5

Bump sqlalchemy from 1.3.4 to 1.3.5 in /libweasyl
Latest commit 1e3ed6a Jun 18, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets/scss Remove PDF.js and don’t force a download Feb 21, 2019
config Add option to post site updates as Wesley Jan 9, 2019
etc Bump cryptography from 2.6.1 to 2.7 in /etc May 31, 2019
libweasyl Bump sqlalchemy from 1.3.4 to 1.3.5 in /libweasyl Jun 18, 2019
static Merge branch 'master' into cleanup Mar 19, 2019
templates Merge branch 'master' into cleanup Mar 19, 2019
weasyl-apidocs Merge moderate rating into general Jan 23, 2017
weasyl Merge pull request #504 from charmander/small-cleanup May 1, 2019
.editorconfig Fix whitespace Jan 23, 2017
.gitignore Use Python assignments as a staff configuration format Jul 7, 2018
.jshintrc Initial commit May 29, 2016
.lgtm.yml Remove PDF.js and don’t force a download Feb 21, 2019
.travis-install.sh Use exact versions of codecov and pytest-cov in CI Jan 9, 2019
.travis-test.sh Separate `WEASYL_ROOT` into app files and storage Sep 28, 2017
.travis.yml Install sassc in CI Aug 5, 2018
CHANGELOG.md Move bugs to publicly visible and combine them; fix mood Sep 10, 2016
CODE_OF_CONDUCT.md Clarify conditions around sexual imagery examples Jun 17, 2016
LICENSE-Apache-2.0.txt Initial commit May 29, 2016
Makefile Prefer wheels over building from source. Fixes #474. Feb 14, 2019
README.rst
STYLE_GUIDE.md Integrate coding style guide Aug 7, 2016
Vagrantfile Replace Gulp and node-sass with a script and sassc Aug 4, 2018
build.js Remove source maps Aug 4, 2018
package-lock.json Update autoprefixer-related dependencies Aug 4, 2018
package.json Update autoprefixer-related dependencies Aug 4, 2018
pyramid.md Don’t create database rows for new guest sessions Jun 19, 2018
setup.cfg Incorporate Charmander's suggestions Nov 26, 2017

README.rst

Welcome to Weasyl!

Weasyl is a social gallery website designed for artists, writers, musicians, and more to share their work with other artists and fans. We seek to bring the creative world together in one easy to use, friendly, community website.

Quickstart

The easiest way to get Weasyl running is within a virtual environment using Vagrant (2.0.0 or greater) with VirtualBox (5.1.28 or greater). From inside the weasyl directory, simply run:

$ make setup-vagrant

After libweasyl is cloned, Vagrant will fetch the base box and then provision the VM. Expect this step to take a while as it downloads a virtual machine image, installs all of Weasyl's dependencies, and populates a small database.

To start the server inside the VM, run:

$ make guest-run

Weasyl will then start running on <https://lo.weasyl.com:8443/>. Ignore any warnings about the self-signed certificate.

Next Steps

At this point Weasyl is running within a virtual machine. Your Weasyl repo is mounted as /home/vagrant/weasyl inside the guest so edits made locally will be reflected inside the VM. To make changes, stop the make guest-run process, edit the code, and rerun make guest-run.

If you need to examine the virtual machine (e.g. to look at the database directly), run vagrant ssh.

The Sample Database

The downloaded database contains sample content pulled and scrubbed from Weasyl staff accounts. No content should be included from non-staff users except from those who have explicitly given permission to use their account.

For privacy and technical reasons, not all content is included: Hidden submissions, private messages, journals, hidden favorites, notifications, and similar things have been removed. If you want to develop around such functionality, they will have to be added manually.

All passwords in the database have been set to 'password'.

Troubleshooting and Getting Help

If the make setup-vagrant step fails halfway through, you can resume it with the standard vagrant commands vagrant up followed by vagrant provision.

If you have questions or get stuck, you can trying talking to Weasyl project members in the project's gitter room.

The above instructions have been tested on Linux and OS X. It should be possible to run Weasyl in a virtual environment under Windows, but it hasn't been thoroughly tested.

When developing under Windows hosts with a Linux guest, ensure that either Intel VT-x/EPT or AMD-V/RVI are exposed to the virtual machine (e.g., the "Virtualize Intel VT-x/EPT or AMD-V/RVI" setting under the Processors device settings for the guest VM in VMware). If this setting is not selected, the configuration of the Weasyl VM via make setup-vagrant may hang when Vagrant attempts to SSH to the VM to perform configuration of the guest.

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Style Guide

When committing code, be sure to follow the Style and Best Practices Guide.

You can’t perform that action at this time.