Skip to content

Panoptikum-social/pan

Repository files navigation

Panoptikum

Warning: This is the branch for the major rewrite of Panoptikum.social

We are

  • upgrading to the latest version of Phoenix
  • switching from Bootstrap + Bootflat to Tailwind.css
  • switching from jQuery to Alpine.js
  • switching for certain actions from MVC to LiveView
  • switching from master to main branch

Currently the master branch is the one that is still used in production. This branch is work in progress!


Panoptikum (or short Pan) is a webapplication written in Phoenix that represents a podcast discovery and community website.

It is licensed under the AGPL license. The project website with more information on the project can be found at https://www.panoptikum.social If you are interested and want to get in touch, write an email to Stefan.

Setup

📋 Prerequirements

📦 Install dependencies

  • Install Elixir's dependencies with mix deps.get
  • Install Node.js dependencies with npm install inside the assets folder

🛠 Configuration

  • Copy config/dev.secret.exs.example to config/dev.secret.exs and insert your own data
  • Copy config/prod.secret.exs.example to config/prod.secret.exs and insert your own data

📚 Database and demo data

  • Setup your database with mix ecto.setup
  • Import demo data
    • Uncompress materials/pan_dev.sql.gz
    • Import data with psql pan_dev < pan_dev.sql inside the materials folder
    • Seed an admin user with mix run priv/repo/seeds.exs that has the credentials user admin and password changeme

⏯ Run locally

  • Start Phoenix endpoint with mix phx.server
  • Now you can visit localhost:4000 from your browser.
  • Login as Admin using username admin and password changeme

🌡 Testing

  • Run tests with mix test

✨ Bonus

About

The podcast showcase & community / Phoenix based web application

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages