Coder Social home page Coder Social logo

wekan-develop's Introduction

Overview

Dockerfile definitions to build a Wekan local development environment.

This isn't intended as a replacement to the instructions on the main Wekan site, it's just there to help me to pull things into a structure that works with the way I've set up my dev machines.

Structure

  • base sets up Ubuntu with build and node 9.x dependencies
  • wekandev builds on top of base to add meteor, node-gyp and checkout and build of latest devel branch version of wekan

wekandev contains code built under root/repos, following base pattern from wekan the rebuild scripts for virtualbox.

Starting Containers

This is set up to use a separate MongoDB instance rather than the built-in meteor Mongo instance.

Caution: This is for development only. The data volume is inside the container. Follow the prod setup guide from Wekan wiki to use for prod.

MongoDB

docker run --name wekan-mongo -d mongo

Base app

docker run --privileged=true --link wekan-mongo:mongo -p 3000:3000 -it -v wekan-source:/wekan-source flabbyninja/wekandev:latest bash

TODO: Docker compose config to start this seamlessly

Local Development

The 'start commands' above use a volume on wekan-source to hold data. Moving the root/repos content locally allows editing on an IDE on the local machine, with meteor rebuilding within the container when it detects changes.

NOTE: Link the .meteor subdirectory back to the container filesystem on /root/repos/wekan/.meteor or the rebuilds can cause permission issues on the mounted Docker volume that requires restarts

Starting App

From within the app directory, run meteor

NOTE: If using root in container (not recommended), use --allow-superuser flag

wekan-develop's People

Contributors

flabbyninja avatar

Watchers

 avatar

wekan-develop's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.