SaturDJang / warp

Warp is a web based markdown presentation service
MIT License
13 stars 6 forks source link
django markdown markdown-to-slide marp python warp

Warp

Build Status

Warp is a web based markdown presentation service.

Requirements (Dependencies' versions)

Configuring development environment

1. Install docker

Get docker for your OS. https://www.docker.com/products/overview

After installation, open terminal and type to check docker was installed successfully or not.

$ docker-compose --version
docker-compose version: 1.9.0, build 2585387

If you can see results above, then both of docker and docker-compose is installed completely.

2. Install Node.js (npm) and gulp

Get Node.js for your OS. https://nodejs.org/en/download/

macOS

Just install by package.

Ubuntu

Maybe, this reference is helpful. https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions

$ npm install -g gulp

3. Clone our project, and build docker containers.

After installation clone our project, install node dependencies, and build docker.

$ git clone https://github.com/SaturDJang/warp
Cloning into 'warp'...
...
...
Checking connectivity... done.
$ cd warp
$ npm install
(wait...)
...
$ gulp
$ docker-compose -f docker-compose-dev.yml build --no-cache
Building postgres
(wait...)
Succesfully build f94c7f40714a

4. Run docker-compose up and check on your browser

$ docker-compose -f docker-compose-dev.yml up
...
django_1 | Django version 1.9.9, using settings 'config.settings.local'
django_1 | Development server is running at http://0.0.0.8000/
...

If you saw that, then open browser and visit http://localhost:8000/

5. Use the watch script from next time.

If you followed this guide successful, then just use watch script from next time.

$ ./watch

watch will execute both of docker-compose -f docker-compose-dev.yml and gulp watch in a time.

Settings

Moved to settings.

Basic Commands

Setting Up Your Users

For convenience, you can keep your normal user logged in on Chrome and your superuser logged in on Firefox (or similar), so that you can see how the site behaves for both kinds of users.

Deployment

The following details how to deploy this application.

Docker

See detailed cookiecutter-django Docker documentation.

Elastic Beanstalk

See detailed cookiecutter-django Elastic Beanstalk documentation.

License

See LICENSE.