This is the code for the homepage of Meta Community, a community of Dominican Software Development Communities and Usergroups which aims to help each usergroup to reach more people, improve their resource management and channel sponsorship efforts.
Feel free to open issues, participate in those, and offer to tackle any issue that is not currently being worked on.
The live site is located at http://metacommunity.herokuapp.com/ and is deployed once a week.
Bear in mind that this is a community driven effort, and answers to your issues or pull requests may take some time to process.
Before starting you will need to:
-
Install node >= 5.2
-
Install mongodb >= 3.0
-
Install and update npm
Or, if you prefer using containers:
- Install Docker >=1.10.2
Once the repo is cloned in your machine, make sure to install the npm and gulp-cli packages by running:
npm install
npm install -g gulp
After that run the mongodb server with the default port settings in another terminal window by typing:
mongod
Then, in order to populate the database do:
$ gulp migrate
Finally run gulp
and the webpage will open on localhost:3000 if the page stays blank after a while just close the browser tab and open the page again.
From the repository directory, run:
# Download & build images
$ docker pull mongo:2.6
$ docker build -t meta .
# Create & start containers
$ docker run --name meta_db -d -P mongo:2.6
$ docker run --name meta_app --link meta_db --env MONGOLAB_URI='mongodb://meta_db:${META_DB_PORT_27017_TCP_PORT}' -p 3004:3004 -t meta gulp migrate && npm start
Hate writing commands by hand? docker-compose
instructions are comming soon.
Transpiles and optimizes project's styles.
Additionally, it prefixes CSS properties with vendor prefixes
.
Heads-up: This task notifies BrowserSync
of changes to files.
Enables automatic browser refreshes on asset changes.
Enables automatic server restart on server-side file changes.
Applies all migrations up until now.
Un-dos all migrations down until to the first one.
Listens for file changes and re-runs certain tasks.
Alias for
browser-sync, watch, nodemon, build:scss
If you see something wrong or something you simply don't like, make sure to submit an issue.
After submitting a PR at least two other people have to go through, review your code and call it ok before it being accepted. Take feedbacks with love and remember that we all want to make the best thing ever, so it's never personal when people point out the fact that what you did is not ok.