Fundies Say the Darndest Things! Website
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea Rig up basic submission queue Aug 25, 2018
assets Rig up basic submission queue Aug 25, 2018
config Rig up basic submission queue Aug 25, 2018
docs
lib Fix markdown preview Aug 25, 2018
priv Fix markdown preview Aug 25, 2018
projectFilesBackup/.idea
test Fix one of the unit tests Oct 16, 2017
.gitattributes Use UNIX line endings consistently Aug 22, 2017
.gitignore Rig up basic submission queue Aug 25, 2018
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md Aug 20, 2017
LICENSE Initial commit Aug 20, 2017
README.md Tweak the callout and text editor appearance Nov 9, 2017
mix.exs Add a basic, Markdown-based comment preview thingy Oct 13, 2017
mix.lock Add a basic, Markdown-based comment preview thingy Oct 13, 2017
package-lock.json Rig up basic submission queue Aug 25, 2018

README.md

fstdt

Fundies Say the Darndest Things! Website

Running a local instance in dev mode

To run this app, you'll need to install Elixir and PostgreSQL for the app. You also need NodeJS to build the assets, though Node's not used when the app's running. The rest of it will be installed by the mix tool.

You're going to need a C compiler for some of the deps, too. On Windows with Chocolatey:

choco install visualcpp-build-tools
choco install microsoft-build-tools --version 14.0.25420.1

On Ubuntu, it's more like this:

apt install build-essential

After that, enter enough details into the config/dev.exs file for the app to log into your postgresql server, then run these commands to start it up:

# Download all of the Erlang and Elixir dependencies
mix deps.get
# Build the assets
cd assets
npm install
cd ..
# Create the database
mix ecto.create
# Create the database tables
mix ecto.migrate
# Start the webserver on http://localhost:4000/
mix phx.server

As an alternative, you might also like to run it with a REPL:

iex -S phx.server # on UNIX-likes
iex.bat --werl -S phx.server # in Windows Powershell

License

The software itself is licensed under the Mozilla Public License, and if you make contributions and don't say otherwise, you're agreeing to license your code under the same agreement.

We use some graphical assets from The Noun Project, in assets/static/images/noun_project/. Those are either under a public domain declaration, or a Creative Commons Attribution (CC-BY) license, depending on the icon.