PlanetEx is an Elixir application for aggregating employee and SharePoint blogs.
You'll need to install the following dependencies first:
If you have asdf installed, simply run asdf install
in the root directory.
Run the bootstrap script to install the remaining dependencies and create your development database:
$ cd planet
$ bin/setup
To run the server: mix phx.server
.
$ mix verify
==> mix format --check-formatted
==> mix credo
==> mix test.all
PlanetEx uses Distillery and Docker to build Erlang releases targeted for Ubuntu.
- Docker
- Server provisioned with the following
- Postgres 10
- Can be hosted on the same machine as the release or seperately.
- xvfb
- Google Chrome
- ChromeDriver
- Postgres 10
bin/docker-build
- builds your Docker container.- You only need to do this once.
bin/release
- builds your Distillery release.- Build artifacts are located in
/rel/artifacts
- Build artifacts are located in
- PORT
- DOMAIN
- POOL_SIZE
- SECRET_KEY_BASE
- Can be generated using
mix phx.gen.secret
- Can be generated using
- DATABASE_URL
- SHAREPOINT_CREDS
- In order to aggregate blogs from protected SharePoint sites, you must supply credentials in the form of
username:password
- In order to aggregate blogs from protected SharePoint sites, you must supply credentials in the form of
scp rel/artifacts/<your release> user@host:/path/to/release
- Move release tar ball to the server.tar -xvf /path/to/release
- unpack the release.
/path/to/release/bin/yourapp start
- start the server in the background as a daemon- To stop the server -
/path/to/release/bin/yourapp stop
or
- To stop the server -
/path/to/release/bin/yourapp foreground
- start the server in the foreground (analogous tomix phx.server
)
PlanetEx comes with a migration release task.
On the remote server, run /path/to/release/bin/yourapp migrate []
- Phoenix - Web framework
- TailwindCSS - CSS library
PlanetEx is supported by SEP: a Software Product Design + Development company. If you'd like to join our team, don't hesitate to get in touch!