Skip to content

jaspernbrouwer/SweetLakePHP

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SweetLakePHP

Our website at sweetlakephp.nl!

Want to get involved with this project? See our issues (bug/feature) page.

Getting started

Requirements

  • A local running webserver like WAMP, XAMPP
  • A Meetup account (you'll need an API key)

Installation

Step 1: Fork the project

Go to our Github repository and click "Fork".

Step 2: Get the files from GIT

In a terminal, go to the folder you want to create the project in, and clone your fork:

git clone [email protected]:<username>/SweetLakePHP.git sweetlakephp

Or if your prefer HTTPS in stead of SSH:

git clone https://github.com/<username>/SweetLakePHP.git sweetlakephp

Replace <username> with your Github username.

Step 3: Get your API key from Meetup

Step 4: Create your config files

In the project 'app' folders you find a folder named 'config'. We must add two files:

  • parameters_dev.yml
  • parameters_prod.yml

Simply copy the file parameters.yml.dist to parameters_dev.yml and parameters_prod.yml. Edit both files and make and following changes:

  • Line 20: meetup_api_key, replace 'key' with your API key.

Extra change for file parameters_dev.yml:

  • Line 14: uncomment #mailer_delivery_address, and add your e-mail address.

The file parameters_prod.yml is only required if you use app.php (we encourage developers to use app_dev.php only).

Step 5: Make app/cache and app/logs writable for the webserver

Please read section Setting up Permissions under Configuration and Setup in The Book.

Step 6: Install dependencies with composer

php composer.phar install

Be patient, this process takes some time, if you dont see any errors, then composer ran successfully.

Step 7: Configure your webserver

How the webserver should be configured depends on which webserver you use.

Basic examples for Apache2 and Nginx can be found in Symfony 2's cookbook: Configuring a web server.

Step 8: Almost done (last step)

At this time you should be able to browse to your locally running project (https://localhost/ or whatever you configured in step 7).

The loading will take some time, but if you will see a very basic page that mean composer could not run the last steps.

We have to add the assets to the web folder. That is done with one command.

php app/console assets:install web --symlink
php app/console assetic:dump

Revisit your browser and see if the website is fully loaded.

Congratulations!

Go ahead and make some changes!

About

Our website at sweetlakephp.nl

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 44.1%
  • JavaScript 42.2%
  • PHP 13.7%