GithubHelp home page GithubHelp logo

Galliary

Galliary

Prerequisites

  1. Install and get Docker running on your local machine (I suggest using Docker Desktop)
    1. You will need to install WSL2 for Windows machines
  2. Start a local instance of PostgreSQL using Docker
    1. You can run a simple setup by running docker run --name postgres -p 5432:5432 -e POSTGRES_PASSWORD=password -d postgres in a terminal that has Docker
    2. POSTGRES_PASSWORD will be used elsewhere and is required.

Getting Started

Configuration

You will need to set up a simple config file (.env.local) in the root of the project. This should not be pushed to the codebase and is ignored by .gitignore already. Add the following key-value pairs using your own auth values: (anything prefixed with * is optional)

DATABASE_URL - The PostgreSQL connection string.

DISCORD_CLIENT_ID - Client ID for authentication.

DISCORD_CLIENT_SECRET - Client Secret for authentication.

* DISCORD_CALLBACK_URL - The callback URL for where the user should be redirected back to the site (this has a default in .env and shouldn't be changed)

* GOOGLE_CLIENT_ID - Client ID for authentication.

* GOOGLE_CLIENT_SECRET - Client Secret for authentication.

* GOOGLE_CALLBACK_URL - The callback URL for where the user should be redirected back to the site (this has a default in .env and shouldn't be changed)

* TWITTER_CONSUMER_KEY - Consumer key for authentication.

* TWITTER_CONSUMER_SECRET - Consumer secret for authentication.

* TWITTER_CALLBACK_URL - The callback URL for where the user should be redirected back to the site (this has a default in .env and shouldn't be changed)

You will need to poke Synqat to get these values

CDN_ACCOUNT_ID - The CDN account ID for the Cloudflare CDN.

CDN_API_KEY - The CDN API key for the Cloudflare CDN.

Galliary's Projects

galliary icon galliary

The official open source Galliary repository!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.