Commit Graph

5 Commits

Author SHA1 Message Date
Po Chen
dd873d7c11 Dev on https (#603) 2022-05-17 15:15:47 -07:00
Mark Percival
7d01b49b98 Update devcontainer settings (#574)
- Add some packages to help with development (jq, nftables)
- Clean up env locale and install en_US
- Fix init script failure on *nix
- Add some ruby vscode extension
2022-05-05 05:21:48 -07:00
Po Chen
4f2bc99501 Use per platform initialize command (#565) 2022-05-02 07:51:19 -07:00
Jamil
4acd54b050 Fixes for local development (#562)
* Fixes for local development

A few issues that I ran into getting this up on my local machine.
I also made sure it works now properly on Github Codespaces which
will hopefully make it easier for devs to get started.

- Username/Pass docs updated to correct values
- Add runtime.exs and migrate releases.exs over to it as recommended by
Elixir 1.11 release notes
- Update Endpoint to allow for proxy passed headers if enabled with
PROXY_FORWARDED
- Add missing .env file section to CONTRIBUTION
- Add a sample .env file (.env.sample) to help getting started
- Update docs to show how to use Github Codespaces with an external
URL.
- Remove unused alias from dev (which I think doesn't work anyway due to
compile time restrictions, only in runtime or releases.exs)
- Ensure pre-commit is in path and available on devcontainer
- Simplify some docker commands, remove unneeded ports.

* Update runtime.exs with resolved conflicts

Co-authored-by: Mark Percival <m@mdp.im>
2022-04-29 08:23:20 -07:00
Mark Percival
04ad5d5134 Add devcontainer, update dev setup (#554)
- Add a devcontainer to allow development on Codespaces
  - Dockerfile for the dev environment
  - docker-compose for postgres service
  - Use .tool-version and asdf to setup docker dev
- Update dev instructions to fix issue where tests fail when seed is
run before tests, causing certain tests to fail (mostly next ip tests)
2022-04-26 10:38:25 -07:00