devcongress / jobs

Job board for tech roles
https://jobs.devcongress.org
MIT License
12 stars 22 forks source link

Build Status View performance data on Skylight View performance data on Skylight View performance data on Skylight View performance data on Skylight

DevCongress Jobs

This is the code which runs the DevCongress Jobs website, which lives at jobs.devcongress.org

Design specs available here

Docker setup

Requirements

Install Docker and Docker Compose (Docker Compose comes with Docker on Windows and MacOS)

Alternative for windows

If your docker installation fails, you can install rails, ruby and postgress. Installing ubuntu on windows also makes your setup easier. After which you can do the following to get your project running

Build

On first install, you will need to run a build to setup any dependencies and get you started.

Any application code changes are automatically reloaded, however, changes to certain files e.g. Dockerfile require a build.

Linux/Mac

Others

Run

Linux/Mac

Others

If you'd rather run it in the background,

Develop

The application runs at http://localhost:3000/

You can login with the default user created during seeding

  • email: test@example.com
  • password: password1

Emails

Mailcatcher is setup in development. You can view all outbound emails at http://localhost:1080/

Helpful Commands

NOTE: all docker-compose commands should be run from the project directory

TIP: To remove any persisted data, delete the .volumes directory.

Migrations

Seeding

Testing

Troubleshooting

For consistency sake, be using the latest stable versions of docker-compose and docker

Linux

Scenario: ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running?

Solution: Run sudo usermod -aG docker ${USER}. More details