You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Alexander William Wong 7a032240dd
[dev] cleaned up signin form
3 days ago
.vscode Squashed commit of the following: 4 days ago
assets Squashed commit of the following: 4 days ago
config [wip] config vars for all the prod secrets 4 days ago
lib [dev] cleaned up signin form 3 days ago
priv Squashed commit of the following: 4 days ago
test Squashed commit of the following: 4 days ago
.formatter.exs mix phx.new panopticon 2 weeks ago
.gitignore Squashed commit of the following: 4 days ago
Dockerfile [wip] added config/releases.exs 4 days ago
README.md [wip] debugging heroku deploy issues 4 days ago
heroku.yml [wip] config vars for all the prod secrets 4 days ago
mix.exs [wip] ensure :ssl is started during release actions 4 days ago
mix.lock Squashed commit of the following: 4 days ago

README.md

Panopticon

To start the development postgres server (using Docker):

docker pull postgres:12.1
mkdir -p ${HOME}/docker/volumes/pg_panopticon_dev
docker run \
  --rm \
  --name pg-panopticon-dev \
  --env POSTGRES_DB=panopticon_dev \
  --env POSTGRES_USER=postgres \
  --env POSTGRES_PASSWORD=postgres \
  --publish 5432:5432 \
  --volume ${HOME}/docker/volumes/pg_panopticon_dev:/var/lib/postgresql/data \
  --detach \
  postgres:12.1

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.setup
  • Install Node.js dependencies with cd assets && npm install
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more