Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docker
fathom_server
js
.dockerignore
.eslintrc.json
.gitignore
Dockerfile
LICENSE
Pipfile
Pipfile.lock
README.md
docker-compose.yml
manage.py
package-lock.json
package.json
pytest.ini
setup.cfg
setup.py
webpack.config.js

README.md

Fathom Training Server

This is a prototype service for maintaining a set of training webpages for Fathom.

Development Setup

Prerequisites:

  • Docker 18.03.0 or higher
  • docker-compose 1.21.0 or higher
  • Recent node/npm
  1. Clone the repository:

    git clone https://github.com/osmose/fathom-training-server.git
    cd fathom-training-server
  2. Build the Docker image:

    docker-compose build
  3. Run migrations:

    docker-compose run webserver pipenv run python manage.py migrate
  4. Create an admin account:

    docker-compose run webserver pipenv run python manage.py createsuperuser
  5. Build frontend files:

    npm install
    npm run build # or `npm run watch`
  6. Start everything:

    docker-compose up

What can it do?

  • Add webpages in the admin interface (http://localhost:8000/admin/) and then use the "freeze" admin action to freeze and persist their frozen HTML.
    • Once frozen, view the webpage by clicking the "View on Site" button on the webpage's admin page.

License

Fathom Training Server is licensed under the MPL 2.0. See the LICENSE file for details.

You can’t perform that action at this time.