Full featured events portal run in: http://events.wejs.org
Build With:
- We.js
First install all dependencies listed in: https://wejs.org/docs/we/getstarted.installation
Clone the project
git clone https://github.com/wejs-examples/events.wejs.org.git
cd events.wejs.org
Configure the database:
Copy config/local.example to config/local.js and configure your database.
If you use postgresql you need to install postgresql database, see https://wejs.org/docs/we/database
Install npm dependencies
we install
we run
npm run build
we run --prod
To change the default locale to English open config/i18n.js and uncomment the lines for en-us and comment out the lines for pt-br.
Project configuration is set in config/ folder and every file will be parsed and merged in we.config
Example:
For set i18n configuration you can add one file in project config/ folder with:
module.exports.i18n = {
// Which locales are supported?
locales: ['en-us'],
defaultLocale: 'en-us'
};
Example: https://github.com/wejs/site/blob/master/config/i18n.js
And will be parsed to we.config.i18n
config/local.js files are loaded after all files and can override other configs
TODO, Looking for contributors!
under the MIT license.