UNPKG

epubjs

Version:

Render ePub documents in the browser, across many devices

51 lines (33 loc) 4.96 kB
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html><html xmlns:epub="http://www.idpf.org/2007/ops" xmlns="http://www.w3.org/1999/xhtml"><head><title>Signing In and Creating Projects</title><link rel="stylesheet" type="text/css" href="epub.css"/></head><body data-type="book"><section data-type="chapter" epub:type="chapter" data-pdf-bookmark="Chapter 4. Signing In and Creating Projects"><div class="chapter" id="idm587712"> <h1><span class="label">Chapter 4. </span>Signing In and Creating Projects</h1> <p>Atlas uses a universal login system called Janrain, that lets you sign up for the system using login credentials from other social media sites. To sign in, click the sign in button on the homepage, and choose the account that you have tied to Atlas, or create new login credentials specifically for Atlas.</p> <p>Atlas gives you a blank slate when you sign in for the first time, which means your next steps will be to create a project, or to import a project from GitHub.</p> <section data-type="sect1" data-pdf-bookmark="Creating a New Project"><div class="sect1" id="createnew"> <h1>Creating a New Project</h1> <p>A “project” is any collection of files that will be combined into a single output. For example, a book might be one project, a presentation might be another, or even a theme could be a project. Atlas makes it very easy to create new projects in your account. On the Projects listing page, simply click “New Project” to get the ball rolling.</p> <p>You’ll get taken to a page where you can define the title and description for your project, and choose a project template to pre-populate your new repository with some skeleton files based on the kind of project you’re making. Learn more about project templates below.</p> <p>Click “Create!”, and Atlas will add a new repository to your Atlas account, pre-populated with skeleton files based on the project template you chose.</p> <section data-type="sect2" data-pdf-bookmark="Project Templates"><div class="sect2" id="idm568976"> <h2>Project Templates</h2> <p>To help you get a head start, we’ve created a few different project templates that you can choose from when creating a new project. These templates contain a handful of skeleton files and/or folders based on the kind of project you’re creating. For example, the “Book” template includes skeleton files for a titlepage, copyright page, preface, chapter, and appendix. The “Basic” template gives you just one chapter file and the required <a data-original-title="" data-type="xref" title="" href="ch08.html#atlas-json">Chapter 8</a>. If you want an absolutely naked, empty repository to start with, choose the “Bare” template. </p> </div></section> </div></section> <section data-type="sect1" data-pdf-bookmark="Import from GitHub"><div class="sect1" id="importgithub"> <h1>Import from GitHub</h1> <p>If you have an existing project in <a href="http://github.com">GitHub</a> that you want to import into Atlas, you can use the “Import from GitHub” tool. Click this button, authorize Atlas to access your GitHub account, and then you’ll see a list of your existing GitHub projects.</p> <figure><div class="figure"><img alt="Alt Text" class="icontentsimagesgitlab-authorize-githubpng" src="assets/GITLAB-authorize-github.png"/> <h6><span class="label">Figure 4-1. </span>Before you can import a project from GitHub, you need to allow Atlas to access your GitHub account.</h6> </div></figure> <p>Click the “Import” button to the right of the project you want to add to Atlas. Atlas will let you know if it was able to successfully import your files, and will give you a link to get started writing and building. </p> <figure><div class="figure"><img alt="Alt Text" class="icontentsimagesgitlab-successful-importpng" src="assets/GITLAB-successful-import.png"/> <h6><span class="label">Figure 4-2. </span>Once a project is successfully imported, click the link to start editing.</h6> </div></figure> </div></section> <p>Once you have some projects in Atlas, every time you sign in, you’ll see all your existing or imported projects listed here on the Projects page.</p> <p>Select a project from the list and you’ll be taken to the project dashboard, where you’ll see a list of all files in the project, and have access to the <a data-original-title="" data-type="xref" title="" href="ch02.html#building_in_atlas">“Building”</a>.</p> <div data-type="warning" epub:type="warning"> <h1>A Warning About Split Source</h1> <p>When you import a project from GitHub into Atlas, you are essentially creating a copy of the files, that you will be maintaining separately from the files in GitHub. If you want to keep both sets of files up to date with the same changes, you’ll need to add your repositories as a remote on a local checkout. <a data-original-title="" data-type="xref" title="" href="#syncinggithub">???</a>.</p> </div> </div></section></body></html>