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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
Alexander William Wong 7a032240dd
[dev] cleaned up signin form
3 months ago
.vscode Squashed commit of the following: 3 months ago
assets Squashed commit of the following: 3 months ago
config [wip] config vars for all the prod secrets 3 months ago
lib [dev] cleaned up signin form 3 months ago
priv Squashed commit of the following: 3 months ago
test Squashed commit of the following: 3 months ago
.formatter.exs mix phx.new panopticon 3 months ago
.gitignore Squashed commit of the following: 3 months ago
Dockerfile [wip] added config/releases.exs 3 months ago
README.md [wip] debugging heroku deploy issues 3 months ago
heroku.yml [wip] config vars for all the prod secrets 3 months ago
mix.exs [wip] ensure :ssl is started during release actions 3 months ago
mix.lock Squashed commit of the following: 3 months 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