Giter Club home page Giter Club logo

#AcaSeDona

AcaSeDona

AcaSeDona is a collaborative map that has locations where donations are received, all in one place. Let's help to help!
http://www.acasedona.com.ar

Tech requirements

  • PHP 5.4+
  • MySQL 5+ (or SQLite)
  • Composer
  • NodeJS
  • Bower
  • Sass

Passwords and keys (.env)

This project uses a .env file to manage passwords and keys configuration.

You have to duplicate the .env.example file, and rename it .env. After this, complete with the correct information (database, backend, recaptcha, google analytics, google maps api and facebook app id).

PHP Packages with Composer

This project uses Composer to manage php vendors. To install we have to do:

$ composer install

Composer packages used in this project

Database (schema with Eloquent)

If you want to use the table that this project uses, you can do so at the AcaSeDona/Support/database.php file.

You have to change the variable $create_tables to true. The next time you visit the website (with the correct database connection information), the table will be created.

But after you created the table you have to change back the variable $create_tables to false, because the system will try to create the already created table again.

Assets Management (Gulp + NodeJS)

This project uses Gulp to compile its assets (Sass + JS).

We can find it in the client folder. To install the NodeJS packages, we have to go into client folder and run:

$ bower install
$ sudo npm install

Then we have to globally install Gulp (if we haven't done it yet):

$ sudo npm install --global gulp

To auto generate the production files while we are working (they are at the assets folder), we have to be in the client folder, and then run:

$ gulp

This will keep running, watching the files change, and then auto generating the final files.

If you want to run manually the compilation scripts, you have these two commands:

$ gulp sass
$ gulp js

There is something else you have to know: If you are going to add or remove a JS file, you have to add/remove them from the gulpfile.js or else the Gulp script won't work. There are an array that have this list: js_files. Please verify this, if you are going to change the file structure at the client/js folder.

Bower packages used in this project

NodeJS packages used in this project

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Make your changes
  4. Commit your changes (git commit -am 'Added some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. Create new Pull Request

#AcaSeDona's Projects

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.