You'll find this file at
Before you start editing it there are a couple of things you should know:
Unless you already know what you're doing, for now we recommend keeping everything between the
<head> ... </head>tags so that your CSS and JS is included, your site resizes itself for mobile and a couple of other helpful things.
- Don't worry about losing the info on this page, you can always see it at https://cameronjs.com/welcome.
- Check out https://cameronjs.com/intro for a tutorial that walks you through the features of CameronJS.
If you want to add some images to your site, those go in
(you'll find the
logo in there now). Go to
for your CSS and
for your JS (you'll find some comments in there to get you started with both). Want to change the
little icon that goes in the tab in your browser? That's
Ready to get this site online? First make sure everything is committed to your GitHub, GitLab or Bitbucket account. For example, to push your code up to GitHub first create a new repository and then run the following commands:
git add . git commit -am 'First commit' git remote add origin firstname.lastname@example.org:cannikin/first-cameronjs-app.git git push -u origin master
part should be the URL that GitHub gives you for your own repository.
Pick your host and find your new repo. Show Screenshot
In a minute or less your site will be online! Click the URL under your site name to see. Show Screenshot
Follow the Getting started instructions in Netlify to set up a custom domain and SSL. Bet you've never had a site online that fast! And every time you push changes to your code Netlify will automatically re-deploy your site for you.
Head over to https://cameronjs.com/first-app to build an actual app that allows users to signup and be notified via email when it's going to rain. We'll use Netlify's Forms and Functions to build a full webapp with no server or database. It's the future!