Coder Social home page Coder Social logo

color-themes's Introduction

color-themes

Sources of the next generation of the site about color themes for IDEs (formerly known as http://color-themes.com, now closed)

Deprecation warning

Project is closed. You can find all the themes compiled 
in db_dump/all-color-themes.jar

Database collection `themes` is dumped with mongodump 
to db_dump/themes.json

How to start

First you need to install dependencies and compile sources:

npm install

Next, you need to setup environment variables. Some functionality may not work if not all variables were defined.

Variable Required Example Description
SECRET Yes **** Random string for hashing.
MONGO_URL Yes mongodb://... Database URL. Database for tests: mongodb://api:[email protected]:37647/idecolorthemes Warning: it cat be wiped at any time.
EMAIL No [email protected] This email used to send mails for user. Error reports are sent to this email too.
SMTP_SERVICE No Gmail Service to send email. You should either specify this variable, or all other SMTP_ variables. Look for nodemailer docs for more information.
SMTP_HOST No smtp.gmail.com SMTP host
SMTP_PORT No 465 SMTP port.
SMTP_SECURE No true Should SMTP use secure connection: true/false.
SMTP_USER No user SMTP auth user.
SMTP_PASSWORD No ***** SMPT auth password.
DEBUG No TRUE Start in debug mode. Will not send emails with errors.
BRAND No Color Themes Logo text - useful to show different versions.
PAYPAL_EMAIL No [email protected] Required to check transaction.
PAYPAL_PRICE No 2.00USD Required to check transaction.
PRICE No $2 Price that will be shown to user
IPN_URL No http://.../ipn Url that will receive ipn request from PayPal
PAYPAL_ID No AX7... PayPal button id
PORT No 80 Port to listen to.

Start server with command

npm start

Testing

Download and put to tests/bin:

  • selenium-server-standalone-x.x.x.jar
  • required selenium drivers for your os

Fix tests/nightwatch.json - check versions for selenium server and drivers. Read nightwatch guide for details.

Start tests with command

npm test

Contributing

You are very welcome to improve this project. Looking forward for your pull requests.

License

Shared under the MIT License

color-themes's People

Contributors

dvoyni avatar gauthierplm avatar salisayedi avatar nenochka avatar

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.