Giter Club home page Giter Club logo

archive-communaute-theme-discourse's Introduction

Theme ITOU Discourse

Thème pour le forum des acteurs de l'inclusion.

Built With

Getting Started

This is a discourse theme, you'll want to check the official documentation.

To get a local copy up and running or to use this in production, follow these simple steps:

Prerequisites

  • You need to have a discourse forum where you are admin in order to add this theme.
  • It's best to have the [discourse_theme](https://github.com/discourse/discourse_theme) gem installed on your local machine in order to ensure a smooth development experience. This tool watches for changes in your local repository and updates the theme in consequence.

Local development:

  • On your forum (say it's running on http://localhost:3000)
  • clone this project on your machine (say you clone it in /home/itou/theme-itou-discourse)
  • configure discourse_theme, by providing:
    • your forum URL
    • your API key
  • run discourse_theme watch /home/itou/theme-itou-discourse
  • if you want to see the mobile view, go to http://localhost:3000?mobile_view=1

Now, every change made to the theme will be updated on the forum. If changes are not picked up, you may need to ensure the right theme is being used.

Formatting

You can autoformat the styles using scssfmt. You can install it with yarn, then run:

./node_modules/scssfmt/cli.js  scss/**/*.scss

Production

  • Import the theme in the admin panel (in admin/customize/themes) by providing this Git repository
  • More info in the official documentation

Documentation

If you are getting started making a discourse theme, I’ve found these links to be useful:

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the GPL License. See LICENSE for more information.

Contact

Project Link: https://github.com/betagouv/itou-theme-discourse

archive-communaute-theme-discourse's People

Contributors

keirua avatar

Watchers

James Cloos avatar Xavier Fernandez avatar Enguerran Weiss avatar François Freitag avatar David Deloo avatar  avatar Raphaël Odini avatar dejafait avatar  avatar  avatar  avatar

archive-communaute-theme-discourse'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.